《oracle教学课件》硅谷_宋红康_06_子查询.pptVIP

  • 1
  • 0
  • 约2.65万字
  • 约 19页
  • 2018-12-02 发布于浙江
  • 举报

《oracle教学课件》硅谷_宋红康_06_子查询.ppt

《oracle教学课件》硅谷_宋红康_06_子查询

Multiple-Row Subqueries Subqueries that return more than one row are called multiple-row subqueries. You use a multiple-row operator, instead of a single-row operator, with a multiple-row subquery. The multiple-row operator expects one or more values. SELECT last_name, salary, department_id FROM employees WHERE salary IN (SELECT MIN(salary) FROM employees GROUP BY department_id); Example Find the employees who earn the same salary as the minimum salary for each department. The inner query is executed first, producing a query result.

文档评论(0)

1亿VIP精品文档

相关文档