Basic Database, SQL Flashcards
What do databases store?
data
means of accessing, updating, manipulating, and analyzing data
What is SQL?
SQL is the standard database language for defining and accessing databses
what does a database system consist of?
- data
- database management software. software that stores and manages data in the database
- application programs. applications programs that present data and enable the user to interact with the database system
what does DBMS mean
DBMS is database management system
Name several database systems
MySQL Oracle (also called Oracle RDBMS) IBM's DB2 and Informix Microsoft SQL Server Sybase
What is a database?
a database is a collection of tables
a database is a repository of data that form information
Who are database management systems designed for?
programmers, not users.
how do ordinary users access and update basebases?
Application programs are built on top of the DBMS for customers to access and update the database
How should we think about application programs?
a database application program is an interface between the database system and its users
what kind of database are most databases?
most databases are relational databases
what is a relational database. name 3 key components
databases based on the relational model.
- structure
- integrity
- language
define “structure” for relational databases
the representation of data
define “integrity” for relational databases
imposed constraints on the data
define “language” for relational databases
the means for accessing and manipulating data
what is a “relation” in a relational database
a relation is a table that consists of nonduplicate rows.
what is a record in a database?
row
what does a column in a relational database represent?
the value of a single attribute
for relational database theory, what is a row called?
tuple
for relational database theory, what is a column called?
attribute
what do tables in a database do?
tables describe the relationship among data