Collections:
Inner Join with the WHERE Clause in Oracle
How To Write an Inner Join with the WHERE Clause in Oracle?
✍: FYIcenter.com
If you don't want to use the INNER JOIN ... ON clause to write an inner join, you can put the join condition in the WHERE clause as shown in the following query example:
SQL> SELECT d.department_name, e.first_name, e.last_name 2 FROM departments d, employees e 3 WHERE d.manager_id = e.employee_id; DEPARTMENT_NAME FIRST_NAME LAST_NAME -------------------- -------------------- -------------- Administration Jennifer Whalen Marketing Michael Hartstein Purchasing Den Raphaely Human Resources Susan Mavris Shipping Adam Fripp IT Alexander Hunold ......
⇒ Left Outer Join with the WHERE Clause in Oracle
⇐ Query with a Full Outer Join in Oracle
2019-10-18, 2661🔥, 0💬
Popular Posts:
How To Convert Numeric Expression Data Types using the CAST() Function in SQL Server Transact-SQL? I...
How To Count Rows with the COUNT(*) Function in SQL Server? If you want to count the number of rows,...
How To Query Tables and Loop through the Returning Rows in MySQL? The best way to query tables and l...
How To Select All Columns of All Rows from a Table with a SELECT statement in SQL Server? The simple...
How To Provide Default Values to Function Parameters in SQL Server Transact-SQL? If you add a parame...