【動態更新】其餘小技巧隨機

1.數據庫:html 表引擎InnoDB,支持外鍵。mysql 2.SQL左/右鏈接查詢:sql SELECT t1.id, t1.name, t1.groupid, t2.name FROM t_user t1 LEFT JOIN t_group t2 ON t1.groupid = t2.id;若是還要添加查詢條件的話,用WHERE: SELECT t1.id, t1.name, t1.gro
相關文章
相關標籤/搜索