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
Explain the uses of a database trigger?
Does google use sql?
What is the requirement of self-join?
What is pl sql quora?
What is the purpose of a secondary key?
what are the advantages of using stored procedures? : Sql dba
what is the functionality of the function htmlentities? : Sql dba
Mention what is the function that is used to transfer a pl/sql table log to a database table?
Why is partition used in sql?
how mysql optimizes distinct? : Sql dba
Explain dml and ddl?
What does (*) mean in sql?
Can we call a function containing dml statements in a select query?
what is the different between now() and current_date()? : Sql dba
What is sql select statement?