我现在是这么写的:
select * from vote_vipuser where user_info in (select top 5 user_info from vote_week where vote_class=1 ) and vote_class=1
可是我想实现前面的select完全符合后面的5条记录者才能显示,又该怎么写?
...全文
863打赏收藏
这条组合查询该如何写?
我现在是这么写的: select * from vote_vipuser where user_info in (select top 5 user_info from vote_week where vote_class=1 ) and vote_class=1 可是我想实现前面的select完全符合后面的5条记录者才能显示,又该怎么写?