use db_sqlserver2 select 姓名, 工资, 面积, 金额, (工资+金额/1000) as 实发工资 from 职工,仓库, 订购单 where 职工.职工号=订购单.职工号 and 职工.仓库号=仓库.仓库号 2: [sql] view plain copy select 姓名,工资,金额 from 职
例1: select e.last_name,e.first_name,d.dept_namefrom employees as eleft join dept_emp as de on e.emp_no=de.emp_noleft join departments as d on de.dept_no=d.dept_no; 例2: select dept_emp.dept_no,e