【MapSheep】
[好记性不如烂笔头]

MySQL dual(自带表)

select 
	'张三' as '变量1',
	(select s_name from Student where s_sex = '男' LIMIT 1) as '变量2',
	2 as '变量3',
	null
from dual;
posted on 2024-03-14 11:55  (Play)  阅读(22)  评论(0编辑  收藏  举报