随笔分类 - Mysql
摘要:一、SELECT语句关键字的执行顺序 (7) SELECT (8) DISTINCT <select_list>(1) FROM <left_table>(3) <join_type> JOIN <right_table>(2) ON <join_condition>(4) WHERE <where
阅读全文
摘要:-- 技术部花名册 -- select name as "技术部花名册" from employee where depart_id in (select id from department where name = "技术"); -- 平均年龄大于25的部门名称 -- select id,nam
阅读全文