Database system Flashcards

1
Q

SQL + sublanguages

A

Structured Query Language

  • DML - Read and change stored data
  • DDL - write and change data schema
  • TCL- controlling and monitoring DML commands
  • DCL - manages access rights
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Database over simple files

A
  • Specific and easy-to-use functions
  • Optimized for efficiency
  • Simultaneous access
  • Support fine-grained access protection
  • Consistent state can normally be restored
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

DBMSs

A

Standard database management system

Manages access and provides corresponding functions

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

RDBMSs

A

Relational database management system

For the administration of relationally organized databases

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

Artificial key

A

Additional attribute added to a relation that is used as a primary key. Artificial Key has no meaning outside of the table

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

Foreign Key

A

References a primary key of another. Has to have referential integrity

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

Referential integrity

A

A property of a database where by all foreign keys used are actually used as primary key in another table and thus a valid reference to another data record exists.

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

Primary Key

A

A key that uniquely identifies and entity is called a primary key. Simple PK is formed by exactly 1 attribute. Composite PK is formed by several attributes. PK is never a NULL value

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

SELECT + optional additions

A
Querying data from a table
General structure: SELECT name FROM country;
Optional additions:
WHERE
GROUP BY
HAVING
ORDER BY
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Logical operators

A

NOT
OR
AND

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

comparison operators

A
=
<> or !=
> or <
>= or <=
BETWEEN
LIKE
How well did you know this?
1
Not at all
2
3
4
5
Perfectly