Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我现在在数据库中有四个表,询问如何使用 PHPMYSQL 的单个搜索参数搜索这四个表并在单个页面中显示结果?非常感谢朋友。
Select * From table1 inner join table2 on table1.col=table2.col inner join table3 on table#.col=table3.col .......... where Col=?
你可以替换 ?=? 如果两个表具有相同的列名,则使用“使用(列)”。