select a,b from tab where a='dd' and b='cc'

select a,b from (select a,b from tab where a='dd') as tab1 where b='cc'
哪个性能高一点