Quantcast
Channel: ITPUB论坛-专业的IT技术社区
Viewing all articles
Browse latest Browse all 18583

如何根据不同参数,选择不同的查询条件

$
0
0
比如 select * from emp 如果 deptno=10 ,那么 where 就变成 sal>2000 如果deptno=20 那么 where就变成sal

Viewing all articles
Browse latest Browse all 18583

Trending Articles