Back to marketplace

SQL and databases

No description yet. This curated deck is ready for daily study.

Total cards: 22•Content version: v4•Public deck•Updated: 8/1/2026

Card preview (22)

#1
Front (Question)

structured data

Back (Answer)

fixed fields with data types has metadata

#2
Front (Question)

unstructured data

Back (Answer)

no discernible structure no metadata cannot be queried without being transformed

#3
Front (Question)

data base

Back (Answer)

collection of information that is organised so it can be accessed, managed and updated

#4
Front (Question)

field

Back (Answer)

column, single piece of data about an entity

#5
Front (Question)

records

Back (Answer)

rows, the group of fields about a specific entity

#6
Front (Question)

primary key

Back (Answer)

field that identifies each record uniquely

#7
Front (Question)

foreign key

Back (Answer)

field in one table that is the primary key in another table, links the tables together specified by a *

#8
Front (Question)

why are data bases structured

Back (Answer)

unstructured information/data makes it hard to work with large datasets and to interpret

#9
Front (Question)

flat file data base

Back (Answer)

data base with one table

#10
Front (Question)

relational data base

Back (Answer)

has multiple tables that are connected through their key fields - foreign key

#11
Front (Question)

why use relational data bases

Back (Answer)

• flat file data bases can lead to redundant data (repeats) - inconsistencies likely to be introduced (as you have to manually add everything in so more likely to make mistakes)

#12
Front (Question)

SQL

Back (Answer)

structured query language

#13
Front (Question)

SQL select

Back (Answer)

SELECT Field(s) FROM Table WHERE Condition ORDER BY Field ASC/DSC

#14
Front (Question)

What are the album titles stored?

Card front image
Back (Answer)

SELECT Title FROM Albums

#15
Front (Question)

What are the albums made after 2015, show the title and artist with newest first

Card front image
Back (Answer)

SELECT Title, Artist FROM Albums WHERE Year > 2015 ORDER BY Year DESC

#16
Front (Question)

What are the song names stored, how many streams did they have and what album are they in?

Card front image
Back (Answer)

SELECT Name, Stream_Count, Title FROM Albums, Songs WHERE Albums.ID = Songs.ID

#17
Front (Question)

Who is the teacher and what room are 12B/It in?

Card front image
Back (Answer)

SELECT Teachers.Name, Room FROM Teachers, Classes WHERE Classes.Name = “12B/It” AND Teachers.TeacherCode = Classes.TeacherCode

#18
Front (Question)

INSERT INTO

Back (Answer)

Adds a record to a table INSERT INTO Table (fields) VALUES (values)

#19
Front (Question)

a null field

Back (Answer)

gaps, empty field in record

#20
Front (Question)

DELETE FROM

Back (Answer)

removes record from table DELETE FROM Table WHERE Field = Value

#21
Front (Question)

UPDATE

Back (Answer)

changes value or values in table UPDATE table SET Field = Value WHERE condition

#22
Front (Question)

Change price of protractor to £2.99

Card front image
Back (Answer)

UPDATE Products SET Price = “£2.99” WHERE Name = “Protractor”