默认查询:
SELECT floor,place_code FROM ticket;
合并列:
SELECT concat(floor,‘,‘,place_code) floor FROM ticket;
合并成一条:
SELECT group_concat(floor) floor FROM ticket;
时间: 2024-10-10 03:38:41
默认查询:
SELECT floor,place_code FROM ticket;
合并列:
SELECT concat(floor,‘,‘,place_code) floor FROM ticket;
合并成一条:
SELECT group_concat(floor) floor FROM ticket;