You need to update the date format:
select * from hockey_stats
where game_date between '2012-03-11 00:00:00' and '2012-05-11 23:59:00'
order by game_date desc;
More Related Contents:
- Should I use the datetime or timestamp data type in MySQL?
- How do you set a default value for a MySQL Datetime column?
- MySQL Query GROUP BY day / month / year
- Error in MySQL when setting default value for DATE or DATETIME
- How to group by week in MySQL?
- Difference between two dates in MySQL
- MySQL Query to select data from last week?
- MySQL convert date string to Unix timestamp
- Mysql: Setup the format of DATETIME to ‘DD-MM-YYYY HH:MM:SS’ when creating a table
- Timestamp with a millisecond precision: How to save them in MySQL
- How to store a datetime in MySQL with timezone info
- How to select date from datetime column?
- Datetime equal or greater than today in MySQL
- How to convert number of week into date?
- Set NOW() as Default Value for datetime datatype?
- Group mysql query by 15 min intervals
- SQL Query to show nearest date?
- How to subtract hours from a datetime in MySQL?
- How to convert time to the time zone of the iPhone device?
- mysql: get record count between two date-time
- MySql difference between two timestamps in days?
- How to cast DATETIME as a DATE in mysql?
- How to get current date & time in MySQL?
- how to cast the hexadecimal to varchar(datetime)?
- How to compare timestamp dates with date-only parameter in MySQL?
- how to partition a table by datetime column?
- Get total hours worked in a day mysql
- MySQL select all rows from last month until (now() – 1 month), for comparative purposes
- MySQL – How to parse a string value to DATETIME format inside an INSERT statement?
- Working with INTERVAL and CURDATE in MySQL