CS 3410 Lecture Notes - Lecture 1: Object Database, Stored Procedure, Database

55 views12 pages
School
Course
Professor

Document Summary

Lecture 1 powerpoint and textbook- chapter one- introduction . Data is stored in tables (with rows and columns) Databases may have multiple tables, where every table may store different things. Each row in a table stores data about an occurrence or instance of the thing on interest. Most common = relational database: a relational database stores data in tables (w/ rows and columns) Primary key: each row in a table is uniquely identified by a primary key and the values of these keys are used to create the relationship between the tables. (5) ie. student number. Surrogate key: if numbers are used in primary key are automatically generated and assigned to the database itself, they are also surrogate keys. Foreign key: provides the link between 3 tables, therefore creating an relationship b/t 2 tables. Information: knowledge derived from the data; data processed by summing, ordering, auging, grouping or comparing. Tables names are in all caps: ie. student.

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents