I\'ve 2 tables, emp_master and passport_details.
emp_master(emp_id,first_name,email_id,dob,doj,status.........) passport_details(id, emp_id,passport_number,given
No, subqueries are not supported until 4.1: http://dev.mysql.com/doc/refman/4.1/en/mysql-nutshell.html