Select data between a date/time range

后端 未结 8 1865
迷失自我
迷失自我 2020-11-27 14:43

How do I select data between a date range in MySQL. My datetime column is in 24-hour zulu time format.

select * from hockey_stats 
where game_d         


        
8条回答
  •  甜味超标
    2020-11-27 15:16

    A simple way :

    select  * from  hockey_stats 
    where  game_date >= '2012-03-11' and game_date  <= '2012-05-11'
    

提交回复
热议问题