Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
90 views

SQL - Assignment 2

This document contains a 20 question SQL assignment quiz. The quiz questions cover topics like finding employees by manager ID, counting employees by manager ID, finding maximum salary by department, joining employee and manager names, filtering by salary range, filtering by specific salaries, finding total salaries by department, filtering by name patterns, splitting strings, calculating name length, retrieving employee joining dates and experience, calculating gross salary, and string manipulation. The student is asked to provide their answers to each SQL query question.

Uploaded by

spillthehawttae
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
90 views

SQL - Assignment 2

This document contains a 20 question SQL assignment quiz. The quiz questions cover topics like finding employees by manager ID, counting employees by manager ID, finding maximum salary by department, joining employee and manager names, filtering by salary range, filtering by specific salaries, finding total salaries by department, filtering by name patterns, splitting strings, calculating name length, retrieving employee joining dates and experience, calculating gross salary, and string manipulation. The student is asked to provide their answers to each SQL query question.

Uploaded by

spillthehawttae
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

5/1/2020 SQL - Assignment 2

SQL - Assignment 2
* Required

Email address *

Your email

Name *

Your answer

Phone *

Your answer

Quiz Questions

https://docs.google.com/forms/d/e/1FAIpQLSf1I1gV3TCEotMY1YV61Hm6PmH2mtbQSp6mCmGQsOH8BRgy3w/viewform 1/5
5/1/2020 SQL - Assignment 2

1.Find the employees working with the manager 7698. *

Your answer

2.Display number of employees with manager 7839. *

Your answer

3.Find the details of the employee getting maximim salary in department no 30. *

Your answer

4.Display the employee name and manager name joined with '@' symbol. *

Your answer

5.Write an SQL query to find the employee no,name whose salary is in the range
of 1500 and 3000. *

Your answer

6.Write an SQL query to find the employee no,name whose salary is either 1350
or 1600 or 1800. *

Your answer

https://docs.google.com/forms/d/e/1FAIpQLSf1I1gV3TCEotMY1YV61Hm6PmH2mtbQSp6mCmGQsOH8BRgy3w/viewform 2/5
5/1/2020 SQL - Assignment 2

7.Find the total salaries for departmentno 20. *

Your answer

8.Find the names of employees that ends with 'N'. *

Your answer

9.Find the employee names with four letters . *

Your answer

10.Find the names of employees that ends with 'S'or 'D' or 'E'. *

Your answer

11.Display the employee names containg 'll'. *

Your answer

12.Split the following statement into words.'LEARNING SQL IS FUN AND EASY'. *

Your answer

https://docs.google.com/forms/d/e/1FAIpQLSf1I1gV3TCEotMY1YV61Hm6PmH2mtbQSp6mCmGQsOH8BRgy3w/viewform 3/5
5/1/2020 SQL - Assignment 2

13.Find the length of your name. *

Your answer

14.Display the year of joining of employees. *

Your answer

15.Display the joining year and month of employees *

Your answer

16.Display the experience of the employee in years and months. *

Your answer

17.Display the "gross salary" of employee as salary+comm. *

Your answer

18.Retrieve 'SQL' from 'LEARNING SQL IS FUN AND EASY'. *

Your answer

https://docs.google.com/forms/d/e/1FAIpQLSf1I1gV3TCEotMY1YV61Hm6PmH2mtbQSp6mCmGQsOH8BRgy3w/viewform 4/5
5/1/2020 SQL - Assignment 2

19.Retrieve 'FUN AND EASY' from 'LEARNING SQL IS FUN AND EASY'. *

Your answer

20.Join the strings str1,str2,str3,str4,str5 with '$'. *

Your answer

Send me a copy of my responses.

Submit

Never submit passwords through Google Forms.

reCAPTCHA
Privacy Terms

This content is neither created nor endorsed by Google. Report Abuse - Terms of Service - Privacy Policy

 Forms

https://docs.google.com/forms/d/e/1FAIpQLSf1I1gV3TCEotMY1YV61Hm6PmH2mtbQSp6mCmGQsOH8BRgy3w/viewform 5/5

You might also like