TAILIEUCHUNG - Oracle PL/SQL For Dummies P2

A database consists of tables and columns, as we describe in the preceding section. There are some other terms you need to know in order to understand how databases work. A database is built in two stages. First you create a logical data model to lay out the design of the database and how the data will be organized. | 12 Part I Basic PL SQL Concepts_ Table 1-5 A Sample Relational PURCH_ORDER_ DTL Table PO_Nbr Line_Nbr Item Qy Price 450 1 Hammer 1 451 1 Screwdriver 1 451 2 Pliers 2 451 3 Wrench 1 452 1 Wrench 3 452 2 Hammer 1 453 1 Pliers 1 A purchase order can include many items. Table 1-5 shows that Purchase Order 451 includes three separate items. The link foreign key between the tables is the Purchase Order Number. Understanding basic database terminology A database consists of tables and columns as we describe in the preceding section. There are some other terms you need to know in order to understand how databases work. A database is built in two stages. First you create a logical data model to lay out the design of the database and how the data will be organized. Then you implement the database according to the physical data model which sets up the actual tables and columns. Different terminology applies to the elements of the logical and physical designs. In addition relational database designers use different words from object-oriented OO database designers to describe the database elements. Table 1-6 shows the words used in each of these cases. Table 1-6 Database Design Terminology Logica Relational Logical Object-Oriented Physical Implementation Entity Class Table Attribute Attribute Column Instance Object Row Chapter 1 PL SQL and Your Database 13 The definitions of the words in Table 1-6 are as follows Entity An entity corresponds to something in the real world that is of interest and that you want to store information about. Examples of entities include things such as departments within an organization employees or sales. Each specific department or employee is considered an instance of that entity. For example in Table 1-3 Doug is an instance of the entity Employee. In the OO world Doug would be an object in the Employee class. Attribute This word is used in

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.