TAILIEUCHUNG - An Introduction to Database Systems 8Ed - C J Date - Solutions Manual Episode 1 Part 7

Tham khảo tài liệu 'an introduction to database systems 8ed - c j date - solutions manual episode 1 part 7', kỹ thuật - công nghệ, cơ khí - chế tạo máy phục vụ nhu cầu học tập, nghiên cứu và làm việc hiệu quả | If supplier S2 currently supplies no parts the original query will return all supplier numbers currently appearing in S including in particular S2 who presumably appears in S but not in SP . If we replace SX by SPX throughout it will return all supplier numbers currently appearing in SP. The difference between the two formulations is thus as follows The first means Get supplier numbers for suppliers who supply at least all those parts supplied by supplier S2 as required . The second means Get supplier numbers for suppliers who supply at least one part and supply at least all those parts supplied by supplier S2. a. Get part name and city for parts supplied to every project in Paris by every supplier in London in a quantity less than 500. b. The result of this query is empty. This exercise is very difficult especially when we take into account the fact that part weights aren t unique. If they were we could paraphrase the query as Get all parts such that the count of heavier parts is less than three. The exercise is so difficult in fact that we don t even attempt to give a pure calculus solution here. It illustrates very well the point that relational completeness is only a basic measure of expressive power and probably not a sufficient one. The next two exercises also illustrate this point. See reference for an extended discussion of queries of this type. Let PSA PSB PSC . PSn be range variables ranging over the current value of relvar PART_STRUCTURE and suppose the given part is part P1. Then a. A calculus expression for the query Get part numbers for all parts that are components at the first level of part P1 is PSA. MINOR_P WHERE P P1 b. A calculus expression for the query Get part numbers for all parts that are components at the second level of part P1 is PSB. MINOR_P WHERE EXISTS PSA P P1 AND c. A calculus expression for the query Get part numbers for all parts that are components at the third .

TỪ KHÓA LIÊN QUAN
TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã 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.