Hi,
I have this select stmt:
SELECT * FROM table1 WHERE b BETWEEN a AND c
Here, a,b,c all the three columns are of type datetime. I want to retrieve records where time b is between start time a and end time c. The query complies successfully but at times the result displayed is incorrect..
Any solutions?
Thanks.
I have this select stmt:
SELECT * FROM table1 WHERE b BETWEEN a AND c
Here, a,b,c all the three columns are of type datetime. I want to retrieve records where time b is between start time a and end time c. The query complies successfully but at times the result displayed is incorrect..
Any solutions?
Thanks.
