Postgresで「2012-08-03」などの日付の列を年の日に変換するにはどうすればよいですか?
5191 次
1 に答える
25
抽出機能を使用します。
select extract(doy from the_date_column)
from the_table
于 2015-09-03T15:01:38.797 に答える
抽出機能を使用します。
select extract(doy from the_date_column)
from the_table