PHP2014-5-5的总结

MySQL中表之间的链接语句:

  1.inner   join   on :它们用于两张表的链接与数据库的查询

    例:select 列名 from  表名1 inner join 表名2  on  表名1的id等于表名2的外键的值   where 在过滤条件

    select timer  from  plate inner join qtzuser on  qqtzuser.`UID`=plate.`writer` where partentid=tt.id

 

原文地址:https://www.cnblogs.com/zouxueling/p/3711785.html