Table :- EmpProject EmpId Projectld ClientID Project name StartYear EndYear 101 p-1 Cl-1 pharmacy 2010 2010 102 р-2 Cl-2 textile 2010 2012 103 р-1 Cl-3 travels 2013 104 р-4 Cl-1 xerox 2014 2015 105...


Table :- EmpProject<br>EmpId<br>Projectld ClientID<br>Project name<br>StartYear<br>EndYear<br>101<br>p-1<br>Cl-1<br>pharmacy<br>2010<br>2010<br>102<br>р-2<br>Cl-2<br>textile<br>2010<br>2012<br>103<br>р-1<br>Cl-3<br>travels<br>2013<br>104<br>р-4<br>Cl-1<br>xerox<br>2014<br>2015<br>105<br>p-4<br>Cl-5<br>cosmetics<br>2015<br>6. List the number of department of employees in each<br>project.<br>7. How many project started in year 2010.<br>8. How many project started and finished in the same<br>year.<br>9. select the name of the employee whose name's 3rd<br>character is 'h'.<br>10. List all the values of project table in ascending order<br>of project name.<br>

Extracted text: Table :- EmpProject EmpId Projectld ClientID Project name StartYear EndYear 101 p-1 Cl-1 pharmacy 2010 2010 102 р-2 Cl-2 textile 2010 2012 103 р-1 Cl-3 travels 2013 104 р-4 Cl-1 xerox 2014 2015 105 p-4 Cl-5 cosmetics 2015 6. List the number of department of employees in each project. 7. How many project started in year 2010. 8. How many project started and finished in the same year. 9. select the name of the employee whose name's 3rd character is 'h'. 10. List all the values of project table in ascending order of project name.
Q1 : Table Name:- Employee<br>Empid EmpName<br>Department<br>ContactNo<br>EmailId<br>EmpHeadId Salary<br>101<br>Ayesha<br>E-101<br>1234567890<br>isha@gmail.com<br>105<br>4000<br>102<br>Priya<br>E-104<br>1234567890<br>priya@yahoo.com<br>103<br>6000<br>103<br>Neha<br>E-101<br>1234567890<br>neha@gmail.com<br>101<br>7000<br>104<br>Rahul<br>E-102<br>1234567890<br>rahul@yahoo.com<br>105<br>4000<br>105<br>Abhishek<br>E-101<br>1234567890<br>abhishek@gmail.com 102<br>5000<br>1. Select the detail of the employee whose name start<br>with A.<br>2. Select the details of the employee who work either for<br>department E-104 or E-102.<br>3. What is the department name for DeptID E-102?<br>4. What is total salary that is paid to all employees?<br>5. Select the detail of employee name and department<br>who is getting salary above 5000.<br>

Extracted text: Q1 : Table Name:- Employee Empid EmpName Department ContactNo EmailId EmpHeadId Salary 101 Ayesha E-101 1234567890 [email protected] 105 4000 102 Priya E-104 1234567890 [email protected] 103 6000 103 Neha E-101 1234567890 [email protected] 101 7000 104 Rahul E-102 1234567890 [email protected] 105 4000 105 Abhishek E-101 1234567890 [email protected] 102 5000 1. Select the detail of the employee whose name start with A. 2. Select the details of the employee who work either for department E-104 or E-102. 3. What is the department name for DeptID E-102? 4. What is total salary that is paid to all employees? 5. Select the detail of employee name and department who is getting salary above 5000.

Jun 08, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here