直接用表名就行比如select
table1.*,table2.*
from
table1
where
table1.id=table2.id
仅代表个人观点,不喜勿喷,谢谢。
修改(为该列的值加上前缀-修改数据库):update table set column1=concat('wz',column1) where column='xxxx'
查询加上前缀(不修改数据库):
select *,concat('wz',column1) as column1 from table where column='xx'
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)