TAILIEUCHUNG - Introduction to Database Systems- P8

Tham khảo tài liệu 'introduction to database systems- p8', 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ả | 4 Pari III The Relational Model to explain two important principles The Principle of Interchangeability which implies among other things that we must be able to update views and The Principle of Database Relativity. We also digressed for a few moments to give a brief discussion of snapshots also known as materialized views though this term is deprecated . Finally we sketched the relevant aspects of SQL. XERCISBS Define a view for suppliers in London. Define a view consisting of supplier numbers and part numbers for suppliers and parts that are not colocated. 103 Define relvar SP of the suppliers-and-parts database as a view of relvar SPJ of the suppliers-parts-projects database. Define a view over the suppliers-parts-projects database consisting of all projects project number and city attributes only that are supplied by supplier SI and use part Pl. Given the view definition VAR HEAVYWEIGHT VIEW P RENAME- WEIGHT AS WT COLOR AS COL WHERE WT WEIGHT PI WT COL show the converted form after the substitution procedure has been applied for each of the following expressions and statements a. HEAVYWEIGHT where COL - COLOR Green b. EXTEND HEAVYWEIGHT ADD WT WEIGHT AS WTP PI WTP C. INSERT HEAVYWEIGHT RELATION TUPLE Pl PI P99 WT WEIGHT COL COLOR Purple d. DELETE HEAVYWEIGHT WHERE WT WEIGHT e. UPDATE HEAVYWEIGHT WHERE WT WEIGHT COL White Suppose the HEAVYWEIGHT view definition from Exercise is revised as follows VAR HEAVYWEIGHT VIEW EXTEND P ADD WEIGHT 454 AS WT RENAME COLOR AS COL WHERE WT WEIGHT PI WT COL attribute WT now denotes weights in grams rather than pounds . Now repeat Exercise . Give calculus-based analogs of the algebraic view definitions in Section . ORDER BY makes no sense in a view definition despite the fact that at least one well-known product permits it . Why not In Chapter 9 we suggested that it might sometimes be desirable to be able to declare candidate keys or possibly

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.