MySQL(三)

練習1:找出各部門工資最高的員工 題目要求: 思路: 首先依據要求將兩個表格進行組合成一個表格,再加入一個表格(依據部門進行分組且取個部門最大薪水)組合顯示 1—兩個表格的創建及數據載入 create table employee( id int unsigned primary key not null auto_increment, name varchar(20) not null, sa
相關文章
相關標籤/搜索