Union和Union All區別

  UNION: 去除重複記錄  1.2     2.3     123 SELECT employee_id, job_id FROM employees UNION SELECT employee_id, job_id FROM job_history;   UNION ALL 保留重複記錄    SELECT employee_id, job_id, department_id FROM e
相關文章
相關標籤/搜索