-
Materialised View
What is difference between a table and a materialised view, a view and a materialised view?
-
Findout the Least Null Values column and print out that column records ?
I `ve 1 table with 3 colums A,B,C
A B C
1 3 5
4 null 6
8 2 null
null 1 null
null null 9
5 null 6
3 5 7
null null 3
-
Question on Constraints
I am new to Oracle. I have created one table in that one column name salary, while creating the table I have given the datatype for that column is varchar2 and also I have given not null constraint. Now I want to change the datatype varchar2 to number, Is it possible to alter the datatype when having constraint in table?
-
Write a query for split one column to multiple columns
I have a source table with one column of 15 characters and I want output like divide the 15 chars column into multiple of 3 columns like every column 5 chars
source empnoorderprdct target empno order prdct -
Alternative NULL values
Source:
col1 col2
1 Will
2 John
3 Josh
4 Devin
Target:
col1 col2
1 Will
2 NULL
3 John
4 NULL
5 Josh
6 NULL
7 Devin
8 NULL
I want the SQL query for the... -
Why does the following command give a compilation error?
DROP TABLE &TABLE_NAME;Variable names should start with an alphabet. Here the table name starts with an '&' symbol.
-
What is the use of the DROP option in the ALTER TABLE command?
It is used to drop constraints specified on the table.
-
-
-
SQL Query email automation
How do I write a cron which will run a SQL query and mail the results to a group?
-
-
-
-
Correlated sub-query and nested sub-query examples
Please give some sub-query examples based on correlated sub-query and nested
-
Import & Export Through OEM & SQL
Can any one guide me how can i import and export schema using SQL and OEM
-
-
-
-
-
Create Sequence using alter command
How to Create Sequence and insert data using Alter command to a new column?
SQL Interview Questions
Ans