1

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

2
  • -1 for your rude "i don't want this " comment Commented Sep 1, 2010 at 17:01
  • Seriously, there are upvotes? Commented Sep 1, 2010 at 20:45

1 Answer 1

4
SELECT * FROM tbl where date_column BETWEEN fromDate and toDate
Sign up to request clarification or add additional context in comments.

2 Comments

Note that both fromdate and todate will be inclusive when using BETWEEN
@user415772 - so, what do you want?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.