SELECT * FROM tbMenu WHERE intRoot NOT IN (SELECT intChild FROM tbMenu)

 

Advertisements