Kinh doanh - Marketing
Kinh tế quản lý
Biểu mẫu - Văn bản
Tài chính - Ngân hàng
Công nghệ thông tin
Tiếng anh ngoại ngữ
Kĩ thuật công nghệ
Khoa học tự nhiên
Khoa học xã hội
Văn hóa nghệ thuật
Sức khỏe - Y tế
Văn bản luật
Nông Lâm Ngư
Kỹ năng mềm
Luận văn - Báo cáo
Giải trí - Thư giãn
Tài liệu phổ thông
Văn mẫu
Tài liệu HOT
Tìm
Danh mục
Kinh doanh - Marketing
Kinh tế quản lý
Biểu mẫu - Văn bản
Tài chính - Ngân hàng
Công nghệ thông tin
Tiếng anh ngoại ngữ
Kĩ thuật công nghệ
Khoa học tự nhiên
Khoa học xã hội
Văn hóa nghệ thuật
Y tế sức khỏe
Văn bản luật
Nông lâm ngư
Kĩ năng mềm
Luận văn - Báo cáo
Giải trí - Thư giãn
Tài liệu phổ thông
Văn mẫu
Thông tin
Điều khoản sử dụng
Quy định bảo mật
Quy chế hoạt động
Chính sách bản quyền
0
Trang chủ
Công Nghệ Thông Tin
Cơ sở dữ liệu
Lecture Fundamentals of database systems: Chapter 8 - Emasri, Navathe
TAILIEUCHUNG - Lecture Fundamentals of database systems: Chapter 8 - Emasri, Navathe
Chapter 8 describes more advanced features of the SQL language standard for relational databases. In this chapter present more complex features of SQL retrieval queries, such as nested queries, joined tables, outer joins, aggregate functions, and grouping. Inviting you to refer for more information. | Used to CREATE DROP and ALTER the descriptions of the tables relations of a database Specifies a new base relation by giving it a name and specifying each of its attributes and their data types INTEGER FLOAT DECIMAL ij CHAR n VARCHAR n A constraint NOT NULL may be specified on an attribute CREATE TABLE DEPARTMENT DNAME VARCHAR 10 DNUMBER INTEGER MGRSSN CHAR 9 MGRS TARTDATE CHAR 9 NOT NULL NOT NULL Copyright 2007 Ramez Elmasri and Shamkant B. Navathe lide 8- 3 Copyright 2007 Ramez Elmasri and Shamkant B. Navathe lide 8-4 In SQL2 can use the CREATE TABLE command for specifying the primary key attributes secondary keys and referential integrity constraints foreign keys . Key attributes can be specified via the PRIMARY KEY and UNIQUE phrases CREATE TABlE dept DNAME VARCHAR 10 NOT NULL DNUMBER MGRSSN MGRSTARTDATE PRIMARY KEY INTEGER CHAR 9 CHAR 9 DNUMBER NOT NULL UNIQUE DNAME FOREIGN KEY MGRSSN REFERENCES EMP Used to remove a relation base table and its definition The relation can no longer be used in queries updates or any other commands since its description no longer exists Example DROP TABLE DEPENDENT Copyright 2007 Ramez Elmasri and Shamkant B. Navathe lide 8 Copyright 2007 Ramez Elmasri and Shamkant B. Navathe Slide 8- 6 1 Used to add an attribute to one of the base relations The new attribute will have NULLs in all the tuples of the relation right after the command is executed hence the nOt null constraint is not allowed for such an attribute Example ALTER TABLE EMPLOYEE ADD JOB VARCHAR 12 The database users must still enter a value for the new attribute JOB for each EMPLOYEE tuple. This can be done using the UPDATE command. Copyright 2007 Ramez Elmasri and Shamkant B. Navathe lide 8 Specifies a new database schema by giving it a name Copyright 2007 Ramez Elmasri and Shamkant B. Navathe Slide 8- 9 We can specify RESTRICT CASCADE SET NULL or SET DEFAULT on referential integrity constraints foreign keys CREATE TABLE DEPT DNAME VARCHAR 10 NOT NULL DNUMBER INTEGER .
Bá Thịnh
82
13
pdf
Báo lỗi
Trùng lắp nội dung
Văn hóa đồi trụy
Phản động
Bản quyền
File lỗi
Khác
Upload
Tải xuống
đang nạp các trang xem trước
Bấm vào đây để xem trước nội dung
Tải xuống
TÀI LIỆU LIÊN QUAN
Ebook Fundamentals of database systems (6th edition): Part 1
527
114
4
Lecture Fundamentals of Database Systems - Chapter 2: Database system concepts and architecture
33
100
0
Lecture Fundamentals of Database Systems - Chapter 11: Relational database design algorithms and further dependencies
43
77
0
Lecture Fundamentals of database systems: Chapter 1 - Emasri, Navathe
5
89
0
Ebook Fundamentals of database systems (6/E): Part 1
609
111
1
Ebook Fundamentals of database systems (6/E): Part 2
592
123
0
Ebook Fundamentals of database management systems (Second edition): Part 2
240
8
1
Lecture Fundamentals of Database Systems - Chapter 5: The relational data model and relational database constraints
29
90
0
Lecture Fundamentals of Database Systems - Chapter 7: Relational database design by ER-and EERR-to-Relational mapping
32
72
0
Lecture Fundamentals of database systems: Chapter 3 - Emasri, Navathe
8
68
0
TÀI LIỆU XEM NHIỀU
Một Case Về Hematology (1)
8
461937
55
Giới thiệu :Lập trình mã nguồn mở
14
23040
64
Tiểu luận: Tư tưởng Hồ Chí Minh về xây dựng nhà nước trong sạch vững mạnh
13
10974
531
Câu hỏi và đáp án bài tập tình huống Quản trị học
14
10171
451
Phân tích và làm rõ ý kiến sau: “Bài thơ Tự tình II vừa nói lên bi kịch duyên phận vừa cho thấy khát vọng sống, khát vọng hạnh phúc của Hồ Xuân Hương”
3
9566
104
Ebook Facts and Figures – Basic reading practice: Phần 1 – Đặng Tuấn Anh (Dịch)
249
8365
1127
Tiểu luận: Nội dung tư tưởng Hồ Chí Minh về đạo đức
16
8277
423
Mẫu đơn thông tin ứng viên ngân hàng VIB
8
7889
2226
Đề tài: Dự án kinh doanh thời trang quần áo nữ
17
6812
256
Giáo trình Tư tưởng Hồ Chí Minh - Mạch Quang Thắng (Dành cho bậc ĐH - Không chuyên ngành Lý luận chính trị)
152
6059
1457
TỪ KHÓA LIÊN QUAN
Cơ sở dữ liệu
Fundamentals of Database Systems
Database Systems
Basic constraints
Schema definition
Create schema
Retrieval queries in SQL
Database system concepts
The relational data model
Database design
Database programming techniques
Relational database constraints
Database architecture
Data models
Hierarchical model
Relational database design algorithms
Designing a set of relations
Relational decompositions
Relational database schema
Database users
Database applications
Typical DBMS functionality
Database approach
Databases and database users
Relational databases
Relational calculus
Physical database design
Concurrency control techniques
Database recovery techniques
Database security
Distributed databases
Database management systems
Fundamentals of database management systems
Logical database design
Object oriented database management
Data administration
Relational model concepts
Relational model constraints
Characteristics of relations
Relational database design
EERR to Relational mapping
Mapping EER model constructs
ER to Relational mapping algorithm
Database design process
ER model concepts
ER diagrams
Database application
Relational database schemas
Multivalued dependencies
Database design theory
File structures
Query processing
Database tuning
Transaction processing
Concurrency control
Database System
Lecture Database Systems
Enhanced Entity Relationship
UML modeling
Enhanced ER model
Fundamentals of data modeling
Data modeling
Entity Relationship
Relational algebra
Relational model
Programming techniques
Database programming
SQL Triggers
Views in SQL
Data independence
Database system utilities
Classification of DBMSs
Embedded SQL
Functions calls
Stored procedures
Relational data retrieval
Relational database model
TÀI LIỆU MỚI ĐĂNG
Động cơ đốt trong và máy kéo công nghiêp tập 1 part 7
23
267
0
18-05-2024
Sáng tạo trong thuật toán và lập trình với ngôn ngữ Pascal và C# Tập 2 - Chương 4
47
265
1
18-05-2024
extremetech Hacking BlackBerry phần 9
31
263
0
18-05-2024
Bơm máy nén quạt trong công nghiệp part 8
20
207
2
18-05-2024
báo cáo hóa học:" Endoscopic decompression for intraforaminal and extraforaminal nerve root compression"
7
118
0
18-05-2024
HƯỚNG DẪN SỬ DỤNG PHẦN MỀM CAITA part 9
18
136
0
18-05-2024
Data Structures and Algorithms - Chapter 9: Hashing
54
121
0
18-05-2024
Hệ thống làm lạnh và điều hòa không khí
21
134
0
18-05-2024
Christmas Meditations on the Twelve Holy Days
173
112
0
18-05-2024
MẪU CHỨNG CHỈ QUẢN LÝ VŨ KHÍ, VẬT LIỆU NỔ, CCHT
1
128
0
18-05-2024
TÀI LIỆU HOT
Một Case Về Hematology (1)
8
461937
55
Giới thiệu :Lập trình mã nguồn mở
14
23040
64
Tiểu luận: Tư tưởng Hồ Chí Minh về xây dựng nhà nước trong sạch vững mạnh
13
10974
531
Câu hỏi và đáp án bài tập tình huống Quản trị học
14
10171
451
Phân tích và làm rõ ý kiến sau: “Bài thơ Tự tình II vừa nói lên bi kịch duyên phận vừa cho thấy khát vọng sống, khát vọng hạnh phúc của Hồ Xuân Hương”
3
9566
104
Ebook Facts and Figures – Basic reading practice: Phần 1 – Đặng Tuấn Anh (Dịch)
249
8365
1127
Tiểu luận: Nội dung tư tưởng Hồ Chí Minh về đạo đức
16
8277
423
Mẫu đơn thông tin ứng viên ngân hàng VIB
8
7889
2226
Đề tài: Dự án kinh doanh thời trang quần áo nữ
17
6812
256
Giáo trình Tư tưởng Hồ Chí Minh - Mạch Quang Thắng (Dành cho bậc ĐH - Không chuyên ngành Lý luận chính trị)
152
6059
1457
Đã 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.