#案例:选城市中在多伦多工作的员工
<代码>选择 last_name、job_id e.department_id department_name 从 员工e,部门d, l位置 在哪里 大肠的department_id=d ' department_id” 和 d ' location_id '=l .“location_id” 和 l.city=岸嗦锥唷?/代码>
#案例;查询每个国家下的部门个数大于2的国家编号
<代码>选择 country_id, COUNT (*) 从 地点,部门d 在哪里 l ' location_id '=d“location_id” 集团 country_id 有 COUNT(*)在2,代码>