select id from table where (num,name) in ((num1,'name1'),(num2,'name2'))
转载于:https://www.cnblogs.com/jaxlove-it/p/11393600.html
select id from table where (num,name) in ((num1,'name1'),(num2,'name2'))
转载于:https://www.cnblogs.com/jaxlove-it/p/11393600.html