MySQL(三)

练习1:找出各部门工资最高的员工 题目要求: 思路: 首先依据要求将两个表格进行组合成一个表格,再加入一个表格(依据部门进行分组且取个部门最大薪水)组合显示 1—两个表格的创建及数据载入 create table employee( id int unsigned primary key not null auto_increment, name varchar(20) not null, sa
相关文章
相关标签/搜索