how can write a mysql query for nested query.
ex:
select Student.NAME from Student where Student.NAME = (select Citizen.NAME from Citizen where Citizen.NAME="boy");
o/p string for this query is:
ERROR 1064: You have an error in your SQL syntax near 'select Citizen.NAME from Citizen...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.