SELECT CONCAT(pdrection,"1") FROM tbl_student
SELECT LEFT(stuclass,2) FROM tbl_student
UPDATE tbl_student SET pDrection =CONCAT(LEFT(stuclass,2),pDrection) WHERE pDrection!=''
Mysql连接函数使用
猜你喜欢
转载自blog.csdn.net/WingBin/article/details/51496358
今日推荐
周排行