Relational Implementation With SQL Flashcards

(36 cards)

1
Q

Schema Owner

A

Person who has authority and responsibility for granting access to tables columns and views in a database schema,

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

Schema Definition

A

Description of database to the DBMS.

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

Multiset

A

A set that may have duplicate entries.

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

Simple Query

A

A query involving only one database table.

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

SELECT clause

A

Identifies the columns desired in the query.

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

FROM clause

A

Lists the existing tables referenced by the query.

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

WHERE clause

A

Gives the condition for selecting rows from identified tables.

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

Comparison Operators

A

= , <>,<,>,<=,>=

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

Boolean Connectives

A

AND-OR-NOT

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

Wild Card Characters

A

Special symbols that stand for unspecified strings of characters.

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

Cartesian Product

A

Result of pairing each row in one table withe every row in another table.

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

Alias

A

Alternate name given to a relation.

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

Correlated Subquery

A

A subquery whose result depends on the row being examined by an outer query.

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

EXISTS operator

A

Evaluates to true if resulting set is not empty.

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

NOT EXISTS operator

A

Evaluates to ture if resulting set is empty.

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

Built-in function

A

Statistical function that operates on a set of rows
SUM-AVG-COUNT-MAX-MIN

17
Q

Set function

A

Built-in function

18
Q

DISTINCT

A

Operator that eliminates duplicate rows.

19
Q

GROUP BY

A

Indicates that rows should be grouped on a common value of specified columns.

20
Q

HAVING

A

Places conditions on groups.

21
Q

Union Compatible

A

Two or more relations that have equivalent columns
as to number and domains.

22
Q

UNION

A

Operation that creates the set union of two relations.

23
Q

INTERSECT

A

The operation that creates the set intersection of two relations.

24
Q

EXCEPT

A

An operation that creates the set difference of two relations.

25
Natural Join
Operation that connects relations when common columns have equal values.
26
Join USING
Operation that connects relations when designated common columns have equal values.
27
Join ON
Operation that connects relations when a condition holds.
28
INSERT
Operation that causes rows to be added to be a relation.
29
UPDATE
Operation that changes column values in rows.
30
DELETE
Operation that removes rows from a relation
31
Embedded SQL
A set of statements that allows SQL to be used with traditional programming languages.
32
Host Langauge
Language of programs in which SQL statements can be embedded.
33
Flag Statements
SQL statements embedded in an application program to signal the beginning or end of a set of SQL statements.
34
Cursor
Embedded SQL facility where the result of an SQL query is stored for subsequent processing.
35
OPEN cursor statement
Embedded SQL statement that causes the DBMS to process a cursors query and store its result in the cursor.
36
FETCH statement
A statement that retrieves a single row from an opened cursor.