SQL同时查询多条语句

来源:互联网 发布:嬴政天下 adobe mac 编辑:程序博客网 时间:2024/05/22 06:01

SET @KEY = ' ';

SET @VALUE = ‘ ’;

select .....from ......where   .... = @key and .... = @value;

select .....from ......where   .... = @key and .... = @value;

可以写多条sql语句,@KEY,@VALUE可以多处使用。

查询出的结果也会分成多个sheet,分别显示。

0 0
原创粉丝点击