且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何使用PHP代码比较mysql中的两个表?

更新时间:2022-11-17 18:41:22

我想你会找到 MySQL:INTERSECT运算符 [ ^ ]最有帮助。



针对另一个表运行每个表UPDATE以使用简单的IN设置是和否 不在。




I think you'll find MySQL: INTERSECT Operator[^] most helpful.

Run each table UPDATE against the other table to set 'Yes' and 'No' with simple "IN" and "NOT IN".



你能帮我解决一下正确的问题吗?我需要对php表中的每个值应用Yes或No。
Can you please help me out with the proper query? I need to apply 'Yes' or 'No' against each of the values in the php table.