Web1. Retrieve the names of all employees in department 5 who work more than 10 hours per week on the ‘ProductX’ project. 2. List the names of all employees who have a dependent with the same first name as themselves. 3. Find the names of all employees who are directly supervised by ‘Franklin Wong’. 4. WebJul 26, 2024 · b.) List the names of all employees who have a dependent with the same first name as themselves. c.) Find the names of all employees who are directly supervised by ‘Franklin Wong’.Question # 2: Specify the following queries in SQL on the database schema of Figure 1.2. Write down the following queries and show its resultant table. a.)
Chapter 7: The Relational Data Model, Relational Constraints, …
WebList the names of employees who are directly supervised by Franklin Wong. List the names of employees who work on at least one project in Dallas but the department has no location in Dallas. Web1. Retrieve the names of all employees in department 5 who work more than 10 hours per week on the ProductX project. 2. Find the names of all female employees who are directly supervised by Franklin Wong'. 3. … cricket world cup mascot
2007 Spring Database Systems Homework III 參考解 …
http://www.eecs.qmul.ac.uk/~jane/courses/DB/SQL/SQL_Queries.pdf WebGet the last names of employees who are directly supervised by FRANKLIN -- WONG. 1 select last_name 2 from employee 3 where superssn = 4 (select ssn 5 from employee 6 where first_name = 'FRANKLIN' 7* and last_name = 'WONG') LAST_NAME SMITH NARAYAN ENGLISH SQL> -- QUERY 2. For each employee, get the employee last … WebAnswer SELECT E.LNAME, E.FNAME FROM EMPLOYEE E, EMPLOYEE S WHERE S.FNAME='Franklin' AND S.LNAME='Wong' AND E.SUPERSSN=S.SSN; Another possible SQL query uses nesting as follows: SELECT LNAME, FNAME FROM EMPLOYEE WHERE SUPERSSN IN ( SELECT SSN FROM EMPLOYEE WHERE FNAME='Franklin' AND … cricket world cup match schedule indian time