-
-
-
-
Which command executes the contents of a specified file?
START <filename> or @<filename>
-
Create Sequence using alter command
How to Create Sequence and insert data using Alter command to a new column?
-
-
-
-
-
-
What operator tests column for the absence of data?
IS NULL operator
-
-
There are 2 tables, Employee and Department. There are few records in employee table, for which, the department is not assigned. The output of the query should contain all th employees names and their corresponding departments, if the department is assigned otherwise employee names and null value in the place department name. What is the query?
Select emp_name, Dept_name from (Employee_table left outer join Dept_table on Employee_table.Dept_id = Dept_table.Dept_id)
-
-
-
-
-
-
-
SQL Interview Questions
Ans