請問如何在分類情況下查詢出正確答案 求解
表的樣子 表名 world 正確答案
select name, population, area
from world
where area in
(select max(area)
from world
group by continent)
or
population in (select max(population)
from world
group by continent)
這是我寫的 沒有表現出 but not both
而且比正確答案少了一種name
請大家幫我解答謝謝