| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> comp.databases.theory -> Re: sql query?
select tname from tourist where tid in (select tid from travel where city =
'Detroit' or city = 'Miami')
Chad
"D'laila Pereira" <dpereira_at_students.uiuc.edu> wrote in message
news:Pine.GSO.4.31.0202201846420.15681-100000_at_ux5.cso.uiuc.edu...
>
> Given the following tables
> tourist(tid,tname)
> travel(tid,city, arrivaldate,stayindays)
>
> find, the names of the tourists who have visited "Detroit" and "Miami" but
> no other cities.
>
> Any hints on how to solve this one?
>
Received on Wed Feb 20 2002 - 19:21:11 CST
![]() |
![]() |