-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I think what you want is this (I used 'Jill' not 'John'
as in your example because John has no expos in the
sample data)
SELECT a.artist_name, e.expo_number, e.exponame
FROM artist a, expo e, expo_artist ea
WHERE a.artist_name= 'Jill'
AND a.artist_number = ea.artist_number
AND e.expo_number = ea.expo_number
- --
Greg Sabino Mullane greg@turnstep.com
PGP Key: 0x14964AC8 200303061053
-----BEGIN PGP SIGNATURE-----
Comment: http://www.turnstep.com/pgp.html
iD8DBQE+Z28bvJuQZxSWSsgRAm4PAKCeUHlD7VgkIo4edAEgsERQPwApeACgywR4
VAc52mvNjrxApy4BtElZqow=
=bJXQ
-----END PGP SIGNATURE-----