help with subquery! returns more than 1 row

前端 未结 3 1032
慢半拍i
慢半拍i 2021-01-28 06:53

i dont understand the problem with returning multiple rows:

here is my table BBC:

name    region  area    population  gdp
Afghanistan South Asia  652225          


        
3条回答
  •  北海茫月
    2021-01-28 07:20

    select name,region from bbc where region IN (select region from bbc where name IN('India','Iran'))

提交回复
热议问题