Home > Database > Mysql Tutorial > mysql 列字符串拼接问题

mysql 列字符串拼接问题

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-06 09:32:51
Original
1265 people have browsed it

mysql

我有这样一个查询
select s1.sizeName,c1.colour,**s1.sizeName+c1.colour+c2.skuid** id from c_commodity_size s1,c_commodity_colour c1 ,c_commodity c2 where s1.commodity_id =c2.id and c1.commodity_id =c2.id and c2.id=57;

我想得到 X码 白色 X码白色123 这样的数据。 但是第三列s1.sizeName+c1.colour+c2.skuid这个貌似有问题 求大神告诉我 这地方该怎么弄

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Issues
MySQL stops process
From 1970-01-01 08:00:00
0
0
0
Error when installing mysql on linux
From 1970-01-01 08:00:00
0
0
0
phpstudy cannot start mysql?
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template