The document contains instructions for inserting records into an employee database table using INSERT queries and then retrieving data from the employee table using SELECT queries. It lists 15 queries - inserting sample records, selecting all data, specific columns, records matching criteria. The key aspects are inserting test data, then running various SELECT queries to retrieve different parts of the data.
The document contains instructions for inserting records into an employee database table using INSERT queries and then retrieving data from the employee table using SELECT queries. It lists 15 queries - inserting sample records, selecting all data, specific columns, records matching criteria. The key aspects are inserting test data, then running various SELECT queries to retrieve different parts of the data.
The document contains instructions for inserting records into an employee database table using INSERT queries and then retrieving data from the employee table using SELECT queries. It lists 15 queries - inserting sample records, selecting all data, specific columns, records matching criteria. The key aspects are inserting test data, then running various SELECT queries to retrieve different parts of the data.
insert into employee values(1,'niraj','rajkot',25000,'senior eng')
insert into employee values(2,'rahul','rahemdabad',25000,'senior eng')
insert into employee values(3,'amit','rajkot',30000,'production manager')
insert into employee values(4,'ashish','ahemdabad',50000,'marketing manager')
insert into employee values(5,'yash','rajkot',50000,'marketing manager')
insert into employee values(6,'darshit','ahemdabad',70000,'CEO')
insert into employee values(7,'bhavik','rajkot',30000,'production manager')
insert into employee values(8,'bhaya','ahemdabad',30000,'brach head')
insert into employee values(9,'milan','rajkot',15000,'junier eng')
insert into employee values(10,'ved','ahemdabad',15000,'junier eng')
2.fetch all the data of employees. 3.fetch name of all the employee. 4.fetch the city of all the employee. 5.fetch employee id of darshit. 6.fetch all the data of junior engineer. 7.fetch name,city,designation of production manager. 8.fetch all the data whose salary is 50000. 9.fetch name,city,designation of marketing manager. 10.retrive all the data of CEO. 11.fetch name,city,designation of senior engineer. 12.fetch all the data of engineers. 13.fetch data of engineer whose salary is 50000. 14.fetch all the data pf production manager. 15.fetch data of marketing manager.