TAILIEUCHUNG - Giáo trình SQL Bài 14

Tham khảo tài liệu 'giáo trình sql bài 14', công nghệ thông tin, cơ sở dữ liệu phục vụ nhu cầu học tập, nghiên cứu và làm việc hiệu quả | 1 2 Consider the two tables T1 and T2 Table T1 P Q R 10 a 5 15 b 8 25 a 6 Table T2 A B C 10 b 6 25 c 3 10 b 5 Show the results of the following operations a. T1 X T2 b. T1 M T2 c. T1 M T2 left outer join d. T1 T2-b T2 right outer join e. T1 u T2 f. T1 M AND T2 Specify queries a b c e f i and j of Exercise in both the tuple relational calculus and the domain relational calculus a Retrieve the names of employees in department 5 who work more than 10 hours per week on the ProductX project. b List the names of employees who have a dependent with the same first name as themselves. c Find the names of employees that are directly supervised by Franklin Wong . d For each project list the project name and the total hours per week by all employees spent on that project. e Retrieve the names of employees who work on every project. f Retrieve the names of employees who do not work on any project. g For each department retrieve the department name and the average salary of employees working in that department. h Retrieve the average salary of all female employees. i Find the names and addresses of employees who work on at least one project located in Houston but whose department has no location in Houston. j List the last names of department managers who have no dependents. Specify queries of Exercise in both the tuple relational calculus and the domain relational calculus. Also specify these queries in the relational algebra. a How many copies of the book titled The Lost Tribe are owned by the library branch whose name is Sharpstown b How many copies of the book titled The Lost Tribe are owned by each library branch c Retrieve the names of all borrowers who do not have any books checked out. 2 2 d For each book that is loaned out from the Sharpstown branch and whose DueDate is today retrieve the book title the .

TỪ KHÓA LIÊN QUAN
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.