I want to get the data between a date. Am having some record with from and to date. Now i want to check that record using a date.
Employee Leave_from_date Leave_to_date Leave_Type
001 06-10-2012 07-10-2012 Casual
I want use the select statement like this
Select * from leave_request where fldempid=001 as L on fldfromdate
>= 06-10-2012 and fldtodate<='06-10-2012'
if am using 07-10-2012 means the above record displayed again.
Please help me to create this…
Reverse the usual position of values and columns in a
betweenclause: