【发布时间】:2011-09-01 14:11:51
【问题描述】:
我有如下声明:
select region_id from regions
where region_name = 'Europe'
我需要以下语句中的输出,其中 'bla' 是:
select count(*) from countries
where region_id = 'bla'
我该怎么做?
【问题讨论】:
-
您更改了对我们的查询!它从
distinct *开始,现在是count(*),因此所有答案都不同步。