sql statement for projects monthly