将“唯一"插入到table1中,其中table1.column1等于table2.column 1 [英] insert "unique "into table1 where table1.column1 equals to table2.column one
本文介绍了将“唯一"插入到table1中,其中table1.column1等于table2.column 1的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
有人可以帮助我编写主题中提到的查询吗?
can any one help me for writing query as mentioned in subject
推荐答案
我有兴趣
表1主表
varchar()汽车ID
varchar()汽车设定值
varchar()汽车cilor
表2 sold_cars_table
varchar()出售id
价格
datetime()date
我想将设置值"更新为已售"
仅当table1和table 2中有一个ID时
i have foll
table 1 main table
varchar() car id
varchar() car set value
varchar() car cilor
table 2 sold_cars_table
varchar() sold id
price
datetime() date
i want to update "set value" as "sold"
only if the table1 and table 2 has one ID in them
这篇关于将“唯一"插入到table1中,其中table1.column1等于table2.column 1的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文