How to use greater than operator with date?

前端 未结 6 1698
鱼传尺愫
鱼传尺愫 2020-12-05 03:36

No idea what is going on here. Here is the query, right from phpMyAdmin:

SELECT * FROM `la_schedule` WHERE \'start_date\' >\'2012-11-18\';
6条回答
  •  鱼传尺愫
    2020-12-05 04:09

    I have tried but above not working after research found below the solution.

    SELECT * FROM my_table where DATE(start_date) > '2011-01-01';
    

    Ref

提交回复
热议问题