views:

30

answers:

1

Hi

i have fromdate and todate ..How will i get data that falls in this range ??

+4  A: 
SELECT * FROM tbl where date_column BETWEEN fromDate and toDate
dcp
+1 - *9 second* turnaround time
LittleBobbyTables
Note that both `fromdate` and `todate` will be *inclusive* when using `BETWEEN`
Daniel Renshaw
i don't want this
@user415772 - so, what *do* you want?
LittleBobbyTables