-
Normalization in sql
Explain the normalization and why it is done. explain the case when we avoid the normalization in database.
-
-
How we enter a new column in middle of our old columns?
I want to add a new column in our table and i already have 4 column in table i want that my column should be added at 3rd position not in last position ..
-
-
-
Index Organized Table (IOT)
What is the use Index Organized Table (IOT)?
-
Removing duplicacy
How to delete duplicate records without using rownum/rowid concept?
-
Difference Between Impicit Index and Explicit Cursor
If an implicit index is created when we create a primary key, then what is the need of explicit cursor?
-
Display Employee SELECT SQL Query
Display employees who are IT_prog and salary is greater than 3000 and department is not equal to 80 and having the manager as 103
-
Correlated Sub Query
Compose an SQL statement to show a list of two least expensive vendors (suppliers) for each raw material. In the result table, show Material ID, Material Description, Vendor ID, Vendor Name, and Supplier’s unit price. Sort the result table by Material_ID and unit price in ascending order. Note: if a raw material has only one supplier(vendor), that vendor should also be in the result (output) table...
-
Use of VIEW
Describe use of VIEW in SQL Server?
-
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
SQL Interview Questions
Ans