Display Lakes That Are Both in Macedonia and Albania: Select From Where Intersect Select From Where

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 1

1.

Display lakes that are both in Macedonia and Albania


select Lake from geo_Lake G, Country C, encompasses E
where E.Country=C.Code and G.Country=C.Code and C.name='Macedonia'

intersect

select Lake from geo_Lake G, Country C, encompasses E
where E.Country=C.Code and G.Country=C.Code and C.Name='Albania'

You might also like