我有这个数据库表:membership
id name email level memberdate
1 Joe joe@gmail.com silver 04/09/2015
2 Peter perter@gmail.com bronze 05/09/2015
3 John john@gmail.com gold 06/09/2015
4 Jack jack@gmail.com bronze 09/09/2015
我使用此查询首先显示level = bronze的人。
select *
from membership
order by
case
when level = 'bronze' then 1
else 2
end,
memberdate desc;
此外,我想计算上面同一查询中有多少人的等级= bronze
。在这种情况下,计数结果应为2。我怎么能这样做?
由于
答案 0 :(得分:1)
taskkill /im iexplore.exe /f
taskkill /t /f /im chrome.exe
taskkill /t /f /im communicator.exe
ping 127.0.0.1 -n 4
start iexplore.exe http://site1
start iexplore.exe http://site2
start communicator.exe