Home > Database > Mysql Tutorial > mysql-复制一列数据到另一个表,还要在数据前面加字符串,求大神给思路!

mysql-复制一列数据到另一个表,还要在数据前面加字符串,求大神给思路!

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-06 09:37:22
Original
1068 people have browsed it

mysqlsql数据库

比如查询A表产品id,复制到B表并且统一加入 product_id,最后的效果是

product_id=1
product_id=2

有没有sql语句能做到?

Related labels:
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template