C-Sharp | Java | Python | Swift | GO | WPF | Ruby | Scala | F# | JavaScript | SQL | PHP | Angular | HTML
ORACLE SubqueriesIn Oracle, subqueries are the queries inside a query. Subqueries can be made using WHERE, FROM or SELECT clause. Table 1: employee1Table 2: employee2Example 1Query: Select name, city from employee1 where id in (select id from employee2 where designation='Shareholder') Example 2Query: Select e.id, e.city, e.name, e1.designation from employee1 e join employee2 e1 on (e.id = e1.id)
Next TopicTRUNCATE
|