Computer Science 101 Database Concepts. Database Collection of related data Models real world...
-
Upload
ashley-cunningham -
Category
Documents
-
view
214 -
download
0
Transcript of Computer Science 101 Database Concepts. Database Collection of related data Models real world...
![Page 1: Computer Science 101 Database Concepts. Database Collection of related data Models real world “universe” Reflects changes Specific purposes and audience.](https://reader030.fdocuments.in/reader030/viewer/2022032709/56649e9f5503460f94ba240d/html5/thumbnails/1.jpg)
Computer Science 101
Database Concepts
![Page 2: Computer Science 101 Database Concepts. Database Collection of related data Models real world “universe” Reflects changes Specific purposes and audience.](https://reader030.fdocuments.in/reader030/viewer/2022032709/56649e9f5503460f94ba240d/html5/thumbnails/2.jpg)
Database
• Collection of related data
• Models real world “universe”
• Reflects changes
• Specific purposes and audience
![Page 3: Computer Science 101 Database Concepts. Database Collection of related data Models real world “universe” Reflects changes Specific purposes and audience.](https://reader030.fdocuments.in/reader030/viewer/2022032709/56649e9f5503460f94ba240d/html5/thumbnails/3.jpg)
Database Management System
• Complex software system
• General purpose - not specific to one domain
• Commercial product
• Vary from personal database managers (Access) to large, corporate systems (Oracle, SQL Server).
![Page 4: Computer Science 101 Database Concepts. Database Collection of related data Models real world “universe” Reflects changes Specific purposes and audience.](https://reader030.fdocuments.in/reader030/viewer/2022032709/56649e9f5503460f94ba240d/html5/thumbnails/4.jpg)
Relational Model
• Used by most popular database systems
• Data is stored in tables consisting of rows and columns.
• Rows correspond to individual entities.
• Columns correspond to properties or attributes of the entities.
![Page 5: Computer Science 101 Database Concepts. Database Collection of related data Models real world “universe” Reflects changes Specific purposes and audience.](https://reader030.fdocuments.in/reader030/viewer/2022032709/56649e9f5503460f94ba240d/html5/thumbnails/5.jpg)
Major Components - Definition
• Definition: – Define the tables and the kinds of data in the
tables– Specify constraints on the data– Define relationships that exist between entities– Define indexes to be built for searching, etc.– Can be done with Data Definition Language or
with some kind of “wizard” or “tool”.
![Page 6: Computer Science 101 Database Concepts. Database Collection of related data Models real world “universe” Reflects changes Specific purposes and audience.](https://reader030.fdocuments.in/reader030/viewer/2022032709/56649e9f5503460f94ba240d/html5/thumbnails/6.jpg)
Major Components - Tables
![Page 7: Computer Science 101 Database Concepts. Database Collection of related data Models real world “universe” Reflects changes Specific purposes and audience.](https://reader030.fdocuments.in/reader030/viewer/2022032709/56649e9f5503460f94ba240d/html5/thumbnails/7.jpg)
![Page 8: Computer Science 101 Database Concepts. Database Collection of related data Models real world “universe” Reflects changes Specific purposes and audience.](https://reader030.fdocuments.in/reader030/viewer/2022032709/56649e9f5503460f94ba240d/html5/thumbnails/8.jpg)
![Page 9: Computer Science 101 Database Concepts. Database Collection of related data Models real world “universe” Reflects changes Specific purposes and audience.](https://reader030.fdocuments.in/reader030/viewer/2022032709/56649e9f5503460f94ba240d/html5/thumbnails/9.jpg)
Major Components - Queries
• Searching for data that meet specified conditions
• Results can combine data from various tables and contain specified attributes
• Can be done with a Query Language or using special helper tools provided
• Query can be stored for future use
![Page 10: Computer Science 101 Database Concepts. Database Collection of related data Models real world “universe” Reflects changes Specific purposes and audience.](https://reader030.fdocuments.in/reader030/viewer/2022032709/56649e9f5503460f94ba240d/html5/thumbnails/10.jpg)
Alsos Browse
for People
![Page 11: Computer Science 101 Database Concepts. Database Collection of related data Models real world “universe” Reflects changes Specific purposes and audience.](https://reader030.fdocuments.in/reader030/viewer/2022032709/56649e9f5503460f94ba240d/html5/thumbnails/11.jpg)
People Browse Query
![Page 12: Computer Science 101 Database Concepts. Database Collection of related data Models real world “universe” Reflects changes Specific purposes and audience.](https://reader030.fdocuments.in/reader030/viewer/2022032709/56649e9f5503460f94ba240d/html5/thumbnails/12.jpg)
Major Components - Forms
• Create Forms for – Data Entry– Update– Queries
• Can involve multiple related tables
• Can involve “action” buttons, computed values, etc.
![Page 13: Computer Science 101 Database Concepts. Database Collection of related data Models real world “universe” Reflects changes Specific purposes and audience.](https://reader030.fdocuments.in/reader030/viewer/2022032709/56649e9f5503460f94ba240d/html5/thumbnails/13.jpg)
Alsos Book Form
![Page 14: Computer Science 101 Database Concepts. Database Collection of related data Models real world “universe” Reflects changes Specific purposes and audience.](https://reader030.fdocuments.in/reader030/viewer/2022032709/56649e9f5503460f94ba240d/html5/thumbnails/14.jpg)
Major Components - Reports
• Printable reports
• Related data from various tables
• Sections and subsections
• Summary data based on sections, subsections, etc.
![Page 15: Computer Science 101 Database Concepts. Database Collection of related data Models real world “universe” Reflects changes Specific purposes and audience.](https://reader030.fdocuments.in/reader030/viewer/2022032709/56649e9f5503460f94ba240d/html5/thumbnails/15.jpg)
Alsos Book Report