I need to get rows from the database where the records are of one month. I tried this SELECT:
$result = mysql_query(\"SELECT * FROM my_table WHERE DATEPART(\
SELECT * FROM my_table WHERE MONTH(date_column)=11