><ここ>でその年や月だけを指定することはできるのでしょうか?
>postgresql で言えば to_char、mysql で言えば date_format による変換です。

よくわからんがpostgresql でもmysql でもwhere句の出番ではないのかね?