1. 1) What is RDBMS?
Relational database system.in rdbms the tables are realated to each other.
Its share storage and information.
2) Explain Left outer join ,right outer join , Self join ?
Left outer join are to join left table to all records match to right table and no records are match insert null
Right outer join are same as left outer join but right table records are join.
Self join are one table are join self table created twice match the records.
3) Explain the difference between DELETE , TRUNCATE and DROP commands?
Delete commands are use for delete column and records.
Truncat commands are delete the all records in table.
Drop commands are delete table structure.its work without having any records in that table.
4) Write a query to create a table named Employee_Test and insert some test data(column will be ID, Name ,
Salary , Joining date)
Create table Employee_Test(id varchar(10),name varchar(15),salary number(10),joiningdate date);
5)Which of the following are the five built-in functions provided by SQL?
A ) COUNT, SUM, AVG, MAX, MIN
6)Which of the following statements contains an error?
D) SELECT empid WHERE empid =56949 AND lastname = ‘SMITH’;
7 )Description of the
D) SELECT COUNT (DISTINCT dept_id) FROM EMPWHERE last _name=' SACHIN ';
8)
B) WHERE SALARY > 8000
2. 9)
Query within Query is calles sub query.
10)
Date function are display current date