Fundementals Of Databases Flashcards
1
Q
What do you always start a SQL query off with?
A
SELECT …
FROM …
2
Q
How would you begin to update a SQL query?(What statement)
A
UPDATE
3
Q
What is the equal to symbol in SQL
A
<>
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.