Process Overview
A database is like a digital filing cabinet that stores information for apps you use every day, like social media and banking. This flowchart shows how data is stored, retrieved, and updated to keep your app working smoothly.
Jump into concepts and practice - no test required
A database is like a digital filing cabinet that stores information for apps you use every day, like social media and banking. This flowchart shows how data is stored, retrieved, and updated to keep your app working smoothly.
+-----------------+ +-----------------+ +-----------------+
| | | | | |
| User's | | App | | Database |
| Device | | (Social Media) | | |
| | | | | |
+--------+--------+ +--------+--------+ +--------+--------+
| | |
| Open app | |
|------------------------>| |
| | Request posts data |
| |------------------------>|
| | | Check if data exists
| | |------------------>
| | | Yes: Retrieve data
| | |<------------------
| | Receive data |
| |<------------------------|
| Display posts | |
|<------------------------| |
Users with columns UserID, Name, and Age. If the table has these rows:UserID | Name | Age 1 | Alice | 25 2 | Bob | 30 3 | Carol | 22
Accounts with columns AccountID, Balance. The following SQL query is written:SELECT AccountID, Balance FROM Accounts WHERE Balance > 1000
Balance is misspelled or missing in the table.Balance does not exist or is misspelled -> Option AUsers(UserID, Name) Friends(UserID1, UserID2)
UserID1 and UserID2 represent friend pairs, which SQL query correctly finds all friends of user with UserID = 5?