i didn't get the following code.
select count(*)from leavetbl where date=2011-06-30
i need a mysql +jsp code to get select count(*)from leavetbl for a perticular date
Replace the field name 'date' with 'dt' from your database table, it may contradicts. Then use the following query:
select count(*)from leavetbl where dt="2011-06-30";
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.