特定の月のデータを取得するSQL
select * from student
WHERE to_char(birthday, 'FMMM') = '9' or to_char(birthday, 'FMMM') = '10'
order by to_char(birthday, 'MM-dd');
to_char(timestamp, text) タイムスタンプを文字列に変換 例:to_char(current_timestamp, 'HH12:MI:SS')
MM は 月番号(01〜12)
FM は 字詰めモード(先頭の0、およびを空白のパディングを無効)