Back to marketplace

4.10: section 11: databases and software development

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

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

Card preview (15)

#1
Front (Question)

define an attribute

Back (Answer)

-a piece of information which determines the properties of a field or tag in a database or a string of characters in a display.

#2
Front (Question)

define primary key

Back (Answer)

-an attribute that provides an unique identifier for every entity in a database table

#3
Front (Question)

define composite primary key

Back (Answer)

-a primary key made up of more than one attribute

#4
Front (Question)

define foreign key

Back (Answer)

• links tables via a shared attribute - the attribute must be a primary key in one table

#5
Front (Question)

what is normalisation 5 points

Back (Answer)

• the process of coming up with the best possible design for a relational database to allow faster searching and sorting • no data is duplicated • data is consistent across tables • flexible structure allowing as many entries as desired • user is able to make complex queries

#6
Front (Question)

what is first normal form

Back (Answer)

• no repeating attributes or groups of attributes - the database data is atomic (meaning no single column contains more than one value)

#7
Front (Question)

what is second normal form

Back (Answer)

• no repeating attributes or groups of attributes - no partial dependencies

#8
Front (Question)

what is third normal form

Back (Answer)

• no repeating attributes or groups of attributes • no partial dependencies • no non key dependencies • all attributes are dependent on the key

#9
Front (Question)

why are databases normalised

Back (Answer)

• easier to maintaining and modifying the database • faster sorting and searching • accidental deletion of records is prevented

#10
Front (Question)

how do you write a select sql command

Back (Answer)

SELECT attribute FROM table WHERE condition ​ORDER BY ASC/DESC

#11
Front (Question)

how do you write an update sql command

Back (Answer)

UPDATE table SET attribute = value WHERE = attribute = value

#12
Front (Question)

how do you write a delete sql command

Back (Answer)

DELETE FROM table WHERE condition

#13
Front (Question)

how do you write an insert sql command

Back (Answer)

INSERT INTO table (column1, column 2 , …) VALUES (vaule1, value2 , …)

#14
Front (Question)

how do you define a table with sql

Back (Answer)

CREATE TABLE Artworks (Title VARCHAR(225), Artist VARCHAR(255), Date YEAR, PRIMARY KEY (Title, Artist))

#15
Front (Question)

how do you do an inner join on a sql select statement

Back (Answer)

SELECT * FROM table1 INNER JOIN table2 ON table1.column_name= table2.column_name;