我想从表字段中搜索特定日期,其中表字段可以是多个日期

时间:2015-03-20 07:10:44

标签: mysql sql

我的表是client_details。我的表格字段是日期。日期字段包含多个日期,如

03/03/2015,04/13/2015,05/11/2015,06/08/2015,09/04/...
03/18/2015,04/28/2015,05/26/2015,06/23/2015,09/19/...
03/20/2015,04/30/2015,05/28/2015,06/25/2015,09/21/...
03/26/2015,05/06/2015,06/03/2015,07/01/2015,09/27/...
03/26/2015,05/06/2015,06/03/2015,07/01/2015,09/27/...
03/06/2015,04/16/2015,05/14/2015,06/11/2015,09/07/....

我想从这个日期搜索特定日期'05/06/2015'。我该怎么办?

1 个答案:

答案 0 :(得分:0)

为什么不使用

where dates like '%05/06/2015%'