About 50 results
Open links in new tab
  1. sql - oracle nested select query - Stack Overflow

    I have this table on oracle db: Can i do nested select query that change the PARENT column to the name associated with it? like this: I have tried: SELECT PC.ID ,( SELECT PC.NAME from

  2. sql - Oracle Nested Query - Stack Overflow

    Jul 28, 2020 · 0 Is there a way to pull a field in the top nested query without having to pull the same field in the below subqueries? For example, Date field was not pulled in Level 2, but I …

  3. Oracle SQL: select from table with nested table - Stack Overflow

    sql oracle-database oracle10g nested-table edited Sep 19, 2013 at 8:05 user272735 10.7k 9 73 100

  4. sql - Oracle query for nested JSON (with duplicate field names and ...

    May 24, 2018 · My best bet was to use JSON_TABLE with NESTED PATH and create a view with all the fields and their values so later we can query this view. But that approach is not helping …

  5. sql - Can you create nested WITH clauses for Common Table …

    While not strictly nested, you can use common table expressions to reuse previous queries in subsequent ones. To do this, the form of the statement you are looking for would be

  6. SQL - using a value in a nested select - Stack Overflow

    May 26, 2011 · Hope the title makes some kind of sense - I'd basically like to do a nested select, based on a value in the original select, like so: SELECT MAX(iteration) AS maxiteration, …

  7. oracle database - Nested SQL query or subquery - Stack Overflow

    Mar 17, 2023 · sql oracle-database nested subquery edited Mar 17, 2023 at 12:46 asked Mar 17, 2023 at 12:15 Sprössling

  8. oracle database - How to pass main query column to nested sub …

    May 18, 2016 · 7 I am writing a query, which has nested queryies in select statement as below. Select t1.R1, ( select * from ( select t2.R2 from table2 t2 where t2.Condition_1=t1.C1 order by …

  9. sql - How to do CASE expression with nested expressions in Oracle ...

    Jun 2, 2025 · What do I need to do for it? Oracle does not have a boolean data-type in the SQL scope (it does in the PL/SQL scope, but you cannot use it in statements in the SQL scope). …

  10. sql - nested query vs Joins in Oracle - Stack Overflow

    I know we have a lot of questions about this, but mine is specific to Oracle. I always thought using join is faster in performance. But today, I have 2 queries that returns the same data, but one...