-
-
-
-
Using the following Customer, Country and Orders tables: Customer Table c_id c_name c_country_id 1 John 1 Country Table country_id Name 1 US 2 UK Orders Table o_id c_id Qty o_deliver_country_id 1 1 10 1 2 1 20 2
I need the following output in SQLc_id c_name c_country_lives qty o_deliver_country 1 john US 10 US 2 john US 20 UK
-
-
How to truncate the table with cascade option?
I tried "truncate table cascadebut I got the error storage keyword is missing (says either drop storage or reuse storage) Can any one help me out.
-
-
-
-
How to Create a table in SQL with a table name depending on the date the code is run ?
For e.g. Create table tempOCT as Select....If i run the code in any day of Nov the table name should be tempNOV.
-
Oracle Insert statement execution
Explain the internal process and steps how SQL statement is executed in Database ?
-
Unique Index and Simple Index
What is difference between unique index and simple index?is it possible, two rows can have the same unique index?
-
Copying table with constraints and data
How to copy a table with constraints and data to another table.
-
Establishing many to many relationship in SQL
How will you establish many to many relationship in SQL?Ramco Systems dt. 02 Feb' 2008
-
Get fieldnames from Empty Table
How to get field names from empty table by using SELECT statement;
-
Describe table without DESC Command
How to desc table data without using desc command
-
Display time with sysdate
How to display time with sysdate?
-
CBO & RBO
What is CBO and RBO? What is diff between these two?
-
Sub query and correlated sub query
What is the difference between sub query and correlated sub query
-
Alias in Joins
Why do we use aliases during joining two tables?
Oracle SQL Interview Questions
Ans