• Bài giảng Database Systems - Chapter 05 The Relational Data Model and Relational Database ConstraintsBài giảng Database Systems - Chapter 05 The Relational Data Model and Relational Database Constraints

    In-Class Exercise (Taken from Exercise 5.15) Consider the following relations for a database that keeps track of student enrollment in courses and the books adopted for each course: STUDENT(SSN, Name, Major, Bdate) COURSE(Course#, Cname, Dept) ENROLL(SSN, Course#, Quarter, Grade) BOOK_ADOPTION(Course#, Quarter, Book_ISBN) TEXT(Book_ISBN, B...

    pdf29 trang | Chia sẻ: vutrong32 | Ngày: 19/10/2018 | Lượt xem: 1669 | Lượt tải: 1

  • Bài giảng Database Systems - Chapter 4 - Part II Enhanced Entity-Relationship and UML ModelingBài giảng Database Systems - Chapter 4 - Part II Enhanced Entity-Relationship and UML Modeling

    Summary of Modeling Concepts ABSTRACTIONS  CLASSIFICATION  AGGREGATION (COMPOSITION AND ASSOCIATION)  IDENTIFICATION  GENERALIZATION AND SPECIALIZATION CONSTRAINTS  CARDINALITY (Min. and Max)  PARTICIPATION  COVERAGE (Total vs. Partial, Exclusive vs. Overlapping)

    pdf29 trang | Chia sẻ: vutrong32 | Ngày: 19/10/2018 | Lượt xem: 1436 | Lượt tải: 0

  • Bài giảng Database Systems - Chapter 4 - Part I Enhanced Entity-Relationship and UML ModelingBài giảng Database Systems - Chapter 4 - Part I Enhanced Entity-Relationship and UML Modeling

    Formal Definitions of EER Model (2)  Subclass S of C is predicate defined if predicate p on attributes of C is used to specify membership in S; that is, S = C[p], where C[p] is the set of entities in C that satisfy p  A subclass not defined by a predicate is called user-defined  Attribute-defined specialization: if a predicate A = ci (where...

    pdf22 trang | Chia sẻ: vutrong32 | Ngày: 19/10/2018 | Lượt xem: 1745 | Lượt tải: 0

  • Bài giảng Database Systems - Chapter 3 Data Modeling Using the Entity-Relationship (ER) ModelBài giảng Database Systems - Chapter 3 Data Modeling Using the Entity-Relationship (ER) Model

    Extended Entity-Relationship (EER) Model  Incorporates Set-subset relationships  Incorporates Specialization/Generalization Hierarchies NEXT CHAPTER ILLUSTRATES HOW THE ER MODEL CAN BE EXTENDED WITH - Set-subset relationships and Specialization/Generalization Hierarchies and how to display them in EER diagrams

    pdf38 trang | Chia sẻ: vutrong32 | Ngày: 19/10/2018 | Lượt xem: 1590 | Lượt tải: 1

  • Bài giảng Database Systems - Chapter 02 Database System Concepts and ArchitectureBài giảng Database Systems - Chapter 02 Database System Concepts and Architecture

    Classification of DBMSs Distributed Database Systems have now come to be known as client server based database systems because they do not support a totally distributed environment, but rather a set of database servers supporting a set of clients

    pdf33 trang | Chia sẻ: vutrong32 | Ngày: 19/10/2018 | Lượt xem: 1696 | Lượt tải: 0

  • Bài giảng Database Systems - Chapter 1 Introduction and Conceptual ModelingBài giảng Database Systems - Chapter 1 Introduction and Conceptual Modeling

    When not to use a DBMS When no DBMS may suffice: – If the database system is not able to handle the complexity of data because of modeling limitations – If the database users need special operations not supported by the DBMS.

    pdf24 trang | Chia sẻ: vutrong32 | Ngày: 19/10/2018 | Lượt xem: 1495 | Lượt tải: 0

  • Môn thi Phân tích và thiết kế hệ thống thông tinMôn thi Phân tích và thiết kế hệ thống thông tin

    Yêu cầu : 1. Xây dựng mô hình thực thể  kết hợp (EAM) cho bài toán trên. Tự ấn định số lượng và tên các thuộc tính của mỗi thực thể tương ứng. 2. Chuyển EAM về mô hình logic dữ liệu dạng bảng hoặc lược đồ quan hệ 3. Mô tả các tệp CSDL và các quan hệ giữa chúng (nếu có), chỉ ra các tệp chủ (master), tệp phục vụ (slave) và các khoá sắp xếp tư...

    doc6 trang | Chia sẻ: vutrong32 | Ngày: 19/10/2018 | Lượt xem: 1658 | Lượt tải: 1

  • Đề thi lý thuyết - Môn thi: Cơ sở dữ liệu - Đề 5Đề thi lý thuyết - Môn thi: Cơ sở dữ liệu - Đề 5

    3. Trả lời câu truy vấn sau bằng ngôn ngữ SQL: a. Cho biết thông tin về giáo viên có Diachi ở tp.HCM và các đề tài mà họ hướng dẫn: mã giáo viên, tên giáo viên, mã đề tài, tên đề tài. (1.5 điểm) b. Với mỗi giáo viên hãy thống kê số lượng đề tài, số lượng sinh viên mà giáo viên đó bắt đầu hướng dẫn trong năm 2006 (NgBD). (1.5 điểm) c. In ra dan...

    pdf1 trang | Chia sẻ: vutrong32 | Ngày: 19/10/2018 | Lượt xem: 1731 | Lượt tải: 3

  • Đề thi lý thuyết - Môn thi: Cơ sở dữ liệu - Đề 4Đề thi lý thuyết - Môn thi: Cơ sở dữ liệu - Đề 4

    Câu hỏi: 1. Phát biểu chặt chẽ (nêu bối cảnh, nội dung, bảng tầm ảnh hưởng) các ràng buộc toàn vẹn sau: Mỗi Tour phải đi qua ít nhất 2 điểm du lịch. (2 đ) 2. Viết câu truy vấn sau bằng đại số quan hệ: a. Tìm những Tour (TenTour, SoNgay, SoDem, GiaLe) có “Leo núi” với giá lẻ (Gia_Le) nhỏ hơn hoặc bằng 1.500.000. (1.5 đ) b. Tìm tên những tỉnh (...

    pdf1 trang | Chia sẻ: vutrong32 | Ngày: 19/10/2018 | Lượt xem: 2286 | Lượt tải: 1

  • Đề thi kết thúc học phần môn: Hệ phân tán - Đề 1Đề thi kết thúc học phần môn: Hệ phân tán - Đề 1

    YÊU CẦU: 1. Dữ liệu được nhập từ bàn phím Client. (4 điểm) 2. Quá trình nhập dữ liệu và gửi đến Server dừng lại khi nhận chuỗi “Ket thuc”. (3 điểm) 3. Dữ liệu được lấy từ data.txt có dạng như sau: (3 điểm) Every monkey would like tobe In my place instead of me Cause I am the king of bongo, baby I am the king of bongo bang Ket thuc

    pdf1 trang | Chia sẻ: vutrong32 | Ngày: 19/10/2018 | Lượt xem: 1800 | Lượt tải: 0