`

in之多字段

    博客分类:
  • db
 
阅读更多

 


 

-- in两边元素个数必须相同

-- succss
select * from  tba
where (fa, fb) in 
(
select fa, fb from tbb 
where fc=xxx
order by fd
-- fetch first 1 rows only
);
 

 

 

 

 

 

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics