Write the sql query using dual table for below output?
1 L R
--- --- ----
1 1 1
1 2 1
1 3 1
1 1 2
1 2 2
1 3 2
1 1 3
1 2 3
1 3 3
Write a query using only Dual table with out writing any pl/sql program.
Answer Posted / abilash reddy
SELECT 1, L, R FROM (SELECT LEVEL R FROM DUAL CONNECT BY LEVEL<=3), (SELECT LEVEL L FROM DUAL CONNECT BY LEVEL<=3);
| Is This Answer Correct ? | 14 Yes | 0 No |
Post New Answer View All Answers
What is the use of <> sql?
How can I speed up sql query?
How show all rows in sql?
What is the reports view in oracle sql developer?
How does a self join work?
What are the types of keys?
What are the disadvantages of not performing database normalization?
What is the requirement of self-join?
what are the drivers in mysql? : Sql dba
Is sql a backend?
What is %type in sql?
When should I use nosql database?
What does closing a cursor do?
Is sql injection illegal?
What are primary key and foreign key and how they work?