SQL data base exercise --- cattle off net

Table 1 sector departments

No department and department name

 2 departmental staff table dept_emp

Employee information corresponding to each department

 

 Table 3 managers

Manager information for each department

 

 Table 4 employees

Specific information staff

 

 5 salary table

All staff salaries

 

 Table 6 title

Title to all employees

 

 

 

MySQL Code

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0

Guess you like

Origin www.cnblogs.com/youngao/p/11443413.html