This is probably a simple where clause but I want to say, from columnX (which is datetime) I want all rows where just the year = 2010.
so:
select * f
its just simple
select * from myTable where year(columnX) = 2010