mysql查询表时,我想显示两个列明在一起

2025-03-25 13:13:16
推荐回答(2个)
回答1:

用concat函数
select concat(name,'(',sno,')') from student;

回答2:

select name,sno from student