Saya ingin memilih sql
SELECT "year-month" from table group by "year-month" AND order by date:, di mana tahun-bulan - format untuk tanggal "1978-01", "1923-12".
pilih to_char of couse work , tetapi bukan urutan yang "benar":
to_char(timestamp_column, 'YYYY-MM')