Lesson 1 Flashcards
(32 cards)
A structured database where information is stored in tables where columns represent data fields and rows represent records.
Relational database
Software that maintains relational databases
Relational Database Management Systems (RDBMS)
Programming and query language common to many relational database management systems
Structured Query Language (SQL)
A database system that stores data without the use of relational database models; also known as NoSQL
Non-relational database
What are the four basic categories of NoSQL databases?
- Document-oriented databases
- Key-value stores
- Column-oriented databases
- Graph stores
Store data in XML documents or JSON; flexible, can reshape data to meet the format needed for the application
Document-oriented databases
Store each value with a key-value; similar to a table with just two columns: a field(key) and a value
Key-value stores
Store data in columns rather than rows; can make for easier analysis in some cases
Column-oriented databases
Store individual elements as nodes; more complex and focuses on the relationships between data elements
Graph stores
What type of databases should you use when you need a defined structure with relationships within the data?
Relational database
What is the language that is used for relational databases?
SQL
Which type of database stores data in document format and uses XML or JSON?
Non-relational (NoSQL)
Which type of database provides the most scalable and flexible option for web-based applications?
Non-relational databases (NoSQL)
Data that is structured for optimal storage and use within a program
Normalized data
Describe First Normal Form (1NF)
eliminates redundant information in individual tables; each set of related data is stored in a dedicated table; each table of related information will have a primary key assigned
Describe Second Normal Form (2NF)
related information that is applicable to multiple tables will have its own table and be associated through the use of a foreign key
Describe Third Normal Form (3NF)
eliminates fields that do not depend on a key
A unique identifier for a record that cannot obtain duplicates and is used to reference a record
Primary key
A field or fields that are primary in another table
Foreign key
Describes how many possible occurrences of one entity can be associated with the number of occurrences in another
Cardinality
A relationship where one record in a table is associated with only one record in another table
One-to-one relationship
A relationship where one record in a table is associated with multiple records in another table or tables
One-to-many relationship
A relationship where many records in a table are associated to many other records in other tables
Many-to-many relationship
Established to maintain that records are not orphaned by ensuring the proper table has the key field
Referential integrity