Section 6 Flashcards
What are relational databases
allowing information to be accessed from various views through internal linking between entries.
What are traditional flat file databases
present information from a single point of view and do not interact with other files.
What is database reasearch
the act of analyzing and converting data into information that can be used in decision-making.
What 2 layers make up a database typically
an application layer and a database management layer
What does the application layer of a database do
communicates with the end user and does not directly manipulate the data. receives requests and uses the DBMS to obtain the results
What does the management layer of a database do
returns the end user with results. Uses the application layer for requests and does the work. Add, delete, view data from the system.
What is a database table composed of and what is it also known as
datasheet. composed of records and fields that hold data
What does a “field” contain in a database
a single piece of data about the subject of a record
What are 4 of the most common database models
flat-file, relational, hierarchical, and object-oriented
What do flat-file databases consist of
stores data in a plain text file. each line of the text file holds one record. fields are separated by delimiters like spaces or commas. cannot contain multiple tables
How are hierarchical databases structured
Data is organized in a tree structure, much like an organizational chart. There is one parent for each record, with optional nodes, forming sub-trees called segments. Access to the data is predictable and restricted to the paths in the trees.
What do relational databases consist of
contain database tables that can be joined together in logical ways. each record has a unique identifier such as a product identification number or user name. the unique identifier is called a primary key. When the unique identifier is found on another table, it is called a foreign key.
What are 3 factors to consider when choosing a database?
data retrieval speed, scalability, security
What is a SELECT operation in SQL
takes rows from one table and creates a new table
SELECT PatientID, LastName FROM Patient
SELECT - SQL
identifies records that are being requested