Databases Flashcards

1
Q

How do you delete a database?

A

“DROP”

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

Which operator allows you to specify multiple values in a WHERE clause?

A

“IN”

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

Which operator selects values without a given range?

A

“BETWEEN”

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

Which operator returns TRUE if any of the sub query values meet the condition?

A

“ANY”

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

Which operator is used to test for the existence of any record in a subquery?

A

“EXISTS”

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

Which operator is used to display a result where a condition is not true?

A

“NOT”

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

What are the two types of participation in an entity?

A

Mandatory and Optional

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

What is a weak entity?

A

A table which uses a compound key rather than its own primary key.

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

How are weak entities shown in ER diagrams?

A

A double rectangle rather than a single one

  • A dotted line is used to connect a weak entity to the strong entity it relies on.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly