Fundementals Of Databases Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

What do you always start a SQL query off with?

A

SELECT …
FROM …

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

How would you begin to update a SQL query?(What statement)

A

UPDATE

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

What is the equal to symbol in SQL

A

<>

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

Explain the conditions under which simultaneous access to a database could cause a problem, and how this could be dealt with. (2 marks)

A

When 2 users try to modify the same record simultaneously.
Then you could either say this was dealt with…
- record locks - when a record is locked so a second user cannot modify the record if it is already being updated.
- transaction queuing - when updates are queued and the database software processes this in a FIFO order.

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