posted 19 years ago
The example above may not be very good.
Please see a better one below:
Select n.full_name, a.street, a.city, a.zip, a.state From address a
Where a.id = (Select n.id from name n Where n.full_name Like 'John%');
This query is wrong because the alias "n" is out of acope. How should
I use one query to list the full name and address?