We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 23
20FOTCA11502
ASSINGNMENT Insert and Select Query.
1.insert all the records using insert query.
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.