I am using the netbeans and mysql. I have a table named employee with the following fields" emp_id, emp_name, intime, date. I try to retrieve a particular record using this query:
SELECT intime FROM employee WHERE emp_id='1' AND date='25/06/12'
I get an error saying empty resultset, but the table contains that particular record. Why did this error occurred?
error: dsdcom.mysql.jdbc.JDBC4ResultSet@d20b73