Back to marketplace

1.3.2 Databases definitions/info

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

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

Card preview (24)

#1
Front (Question)

What are the conditions for first normal form (NF 1)?

Back (Answer)

• data should be atomic • there should be a primary key

#2
Front (Question)

what are the conditions for second normal form (NF 2)?

Back (Answer)

• must be in NF 1 • No partial key dependencies

#3
Front (Question)

what is dependency?

Back (Answer)

a value that varies in line with another value

#4
Front (Question)

How are partial dependencies resolved?

Back (Answer)

creating another table with the foreign keys which link the two other tables together

#5
Front (Question)

what is a foreign key?

Back (Answer)

a link to the primary key in another table

#6
Front (Question)

what are the conditions for third normal form (3 NF)?

Back (Answer)

• must be in 2NF • no non-key dependencies

#7
Front (Question)

what are non-key dependencies?

Back (Answer)

any fields which are not designated a primary key or part of a primary key

#8
Front (Question)

what is the ‘acid test’ for checking a table is in 3NF?

Back (Answer)

each attribute is dependent on the key, the whole key, and nothing but the key

#9
Front (Question)

what is SQL used for?

Back (Answer)

• searching and retrieving records • inserting new records into databases • deleting records and individual items of data from tables • updating existing data and replacing it with new data

#10
Front (Question)

what is SQL syntax?

Back (Answer)

• SQL statements are made up of key words • convention to write key words in caps • each SQL statement is terminated with a semicolon • convention to write longer statements over multiple lines

#11
Front (Question)

what does the DROP keyword do?

Back (Answer)

• delete a table • delete an entire database

#12
Front (Question)

what does a SELECT statement do?

Back (Answer)

allow you to retrieve data from databases

#13
Front (Question)

what is the SELECT keyword syntax?

Back (Answer)

SELECT __Field/s__ FROM __Table__;

#14
Front (Question)

what SQL command can be used to return all fields from a database?

Back (Answer)

SELECT * FROM __Table__;

#15
Front (Question)

what is the SQL command to return fields in ascending order?

Back (Answer)

SELECT __Fields__ FROM __Table__ ORDER BY __selected field__;

#16
Front (Question)

what is the SQL command to return fields in descending order?

Back (Answer)

SELECT __Fields__ FROM __Table__ ORDER BY __selected field__ DESC;

#17
Front (Question)

what is the SQL command to return records given a condition?

Back (Answer)

SELECT __Fields__ FROM __Table__ WHERE __condition__;

#18
Front (Question)

what does the LIKE keyword do?

Back (Answer)

used with the WHERE keyword to return records in the table are in the same format as the given condition

#19
Front (Question)

What is a JOIN/INNER JOIN?

Back (Answer)

a specification as to how multiple tables are joined together

#20
Front (Question)

what is the syntax for a JOIN?

Back (Answer)

SELECT __Fields__ FROM __Table__ JOIN __second table__ ON __field that they are connected with__;

#21
Front (Question)

what is the syntax for the INSERT keyword?

Back (Answer)

INSERT INTO __table__ VALUES __values__;

#22
Front (Question)

what is the syntax for the DELETE keyword?

Back (Answer)

DELETE FROM __table__ WHERE __criteria__;

#23
Front (Question)

what is a transaction in a database system?

Back (Answer)

a single logical unit of work

#24
Front (Question)

what does ACID stand for?

Back (Answer)

A - atomicity C - consistency I - isolation D - durability