摘要:
--查询 select * from 表名; --表别名 select * from 表名 t; --表别名查询字段 select t.id from 表 t; --表别名查询条件 select * from 表 t where t.id = 2; --left join select * from 表1 t1 left join 表2 t2 on t1.id = t2.id; --表... 阅读全文
摘要:
--查询 select * from 表名; --表别名 select * from 表名 t; --表别名查询字段 select t.id from 表 t; --表别名查询条件 select * from 表 t where t.id = 2; --left join select * from 表1 t1 left join 表2 t2 on t1.id = t2.id; --表... 阅读全文
|