我将运行查询作为语句。例如:你好世界
我试图这样做
select concat('employee ', employeename, 'joined on ', doj, 'who gets' , salary , ' dept' , dept)
from employee where emid=1;
输出的参数数目无效。
答案 0 :(得分:1)
使用 Select 'employee' || employeename ||'joined on' || doj || 'who gets' || salary || dept
from employee where emid=1;
{{1}}