Section 6 Flashcards

1
Q

What are relational databases

A

allowing information to be accessed from various views through internal linking between entries.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are traditional flat file databases

A

present information from a single point of view and do not interact with other files.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is database reasearch

A

the act of analyzing and converting data into information that can be used in decision-making.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What 2 layers make up a database typically

A

an application layer and a database management layer

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What does the application layer of a database do

A

communicates with the end user and does not directly manipulate the data. receives requests and uses the DBMS to obtain the results

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What does the management layer of a database do

A

returns the end user with results. Uses the application layer for requests and does the work. Add, delete, view data from the system.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is a database table composed of and what is it also known as

A

datasheet. composed of records and fields that hold data

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What does a “field” contain in a database

A

a single piece of data about the subject of a record

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What are 4 of the most common database models

A

flat-file, relational, hierarchical, and object-oriented

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What do flat-file databases consist of

A

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 well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

How are hierarchical databases structured

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What do relational databases consist of

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What are 3 factors to consider when choosing a database?

A

data retrieval speed, scalability, security

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is a SELECT operation in SQL

A

takes rows from one table and creates a new table

SELECT PatientID, LastName FROM Patient

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

SELECT - SQL

A

identifies records that are being requested

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

‘*’ - SQL

A

everything from a table

17
Q

FROM - SQL

A

identifies table name

18
Q

WHERE - SQL

A

the condition the query is requesting

19
Q

What does the UNION operation do in SQL

A

combines distinct fields from multiple tables that have the same set of attributes and data types

SELECT PatientID, LastName FROM Patient
UNION
SELECT NurseID, LastName FROM Nurse;

20
Q

What is the product operation in SQL (CROSS JOIN)

A

creates a result table that includes all of the attributes from the two tables; each row of the second table is added to each row of the first table.

21
Q

How would you select a specific column from a table in SQL

A

tablename.columnname

22
Q

what is the difference between a product operation and union operation in SQL

A

the product operation (CROSS JOIN) combines every possible pair of rows from two tables to generate a new table, while the union operation (UNION) combines the rows from two tables into a single set, discarding duplicates.

23
Q

What is a join operation in SQL

A

combines two tables, but records are only appended when a matching criterion is met.

24
Q

What is the difference between an implicit join and explicit join in SQL

A

the syntax. in implicit join -

SELECT*
FROM Table1, Table2;

in explicit join-

SELECT*
FROM Table1 CROSS JOIN Table2;

25
Q

What are object-oriented (OO) databases

A

store complex data and relationships between data directly without using inter-table relations. An object database is a collection of objects, each with two components: data and instructions. for example, customer and orders are 2 fields. in the customer field, it would hold all of their info, and in the orders field, it would store their purchases and orders.

26
Q

What are NoSQL databases

A

an alternative to traditional relational databases in which data is placed in tables that are carefully designed before the database is built.

27
Q

What are document databases

A

store data elements in document-like structures that encode information in formats such as JSON

28
Q

What are graph databases

A

emphasize connections between data elements, storing related “nodes” in graphs to accelerate querying

29
Q

What are key-value stores

A

a NoSQL database that uses a simple data model that pairs a unique key like a username and its associated value in storing data elements (DOB, name, address, number, email address)

30
Q

What are wide-column stores

A

also called table-style databases, they store data across tables that can have very large numbers of columns

31
Q

What are cloud databases

A

optimized to work in a cloud environment.

32
Q

What is a data lake

A

a system of data stored in raw format. can include both structured data, such as tables, and unstructured data, such as audio and video recordings.

33
Q

What does a distributed database consist of

A

data residing on different machines. For instance, an international corporation might store and maintain local employer records at local sites, yet link those records via a network to create a single, distributed database.