50分sql题目
数据库版似乎不太有人气,很多帖子给了分却没人回答,或者没人给出满意答案。
所以帖子先不打分,有人解决后,再给说好的分。
请尽可能详细解释一下下面的sql所表达的内容。
company(company-name#,city)
select S.company-name
from company S
where not exists ((select city
from company
where company-name = ’Small Bank Corporation’)
except
(select city
from company T
where S.company-name = T.company-name))