mysql - SQL Date between and another condition statement not working -



mysql - SQL Date between and another condition statement not working -

here 2 sql query when executing sql work fine.

select * xyz file_play_start_date between '2011-07-01 06:15:00' , '2011-07-08 06:30:00'

...but when adding status not working. e.i:returning no result tho there result show in condition.

select * xyz calender_id = 3 , file_play_start_date between '2011-07-01 06:15:00' , '2011-07-08 06:30:00'

can 1 tell me why happening?

there no rows in xyz calender_id = 3 , file_play_start_date between '2011-07-01 06:15:00' , '2011-07-08 06:30:00'.

mysql sql

Comments

Popular posts from this blog

iphone - Dismissing a UIAlertView -

c# - Can ProtoBuf-Net deserialize to a flat class? -

javascript - Change element in each JQuery tab to dynamically generated colors -