-
-
-
Oracle : Table Level and Column Level constraints
We have two type of constraints - Table Level and Column Level. Which is better and why..?
-
-
Insert a record in two tables
How to insert a record in two tables with single insert statement ?
-
-
Create table based on another table
How to create table emp1 based on emp, except comm column?
-
Records Count
How to count number of records in a table without using COUNT function?
-
SQL Query to find the department (ID) wise counts in the company
Write SQL Query to find the department (ID) wise counts in the company.
Schema "employee" contains "employee_id", "employee_name", "dept_id". -
Replace Only Third Character with *
How to replace only third character of employees name with * from employee table?
-
-
-
-
-
Index Use
If you have a three columns table with one index on 2nd Column. In the SELECT statement you retrived column 1, can index be used or not?
-
What is difference between a formal and an actual parameter?
The variables declared in the procedure and which are passed, as arguments are called actual, the parameters in the procedure declaration. Actual parameters contain the values that are passed to a procedure and receive results. Formal parameters are the placeholders for the values of actual parameters
-
-
-
-
Correlated subquery
display the 5th lowest sal from emp table using Correlated subquery
Oracle SQL Interview Questions
Ans