SLR 14 Databases (includes SQL)

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/14

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

15 Terms

1
New cards

Database

A collect of data in a formal structure, e.g. tables, but without any formally defined relationship between those tables.

2
New cards

Relational database

Allows the user to specify information about multiple tables and the relationship between those tables

3
New cards

Table

A collection of records within a data are stored in a table.

4
New cards

Record

A collection of fields from a database table relating to a single entity. E.g. a record in a STUDENTS table might include the ID, Name, Age, DoB and Form group for an single student.

5
New cards

Field

A single type of data from a database table. E.g. The fields in a STUDENTS table might be ID, Name, Age, DoB and Form group.

6
New cards

Primary key

A field that uniquely identifies a record in a table

7
New cards

Foreign key

The linking field in the foreign table formed when a relationship is made. The FK becomes by default the PK of the new table.

8
New cards

SQL

The language and syntax used to write and run database queries

9
New cards

SQL: SELECT

A key word in the SQL programming language used for the querying (retrieval) of data. e.g. SELECT Name, Age, Class FROM Students_table WHERE Gender = 'Male'

10
New cards

SQL: FROM

A key word in the SQL programming language used to signify which table(s) we are using. e.g. SELECT Name, Age, Class FROM Students_table WHERE Gender = 'Male'

11
New cards

SQL: WHERE

A key word in the SQL programming language used to filter the results of your query. e.g. SELECT Name, Age, Class FROM Students_table WHERE Gender = 'Male'

12
New cards

SQL: ORDER BY

A key word in the SQL programming language used to order the output from a SELECT query. e.g. SELECT Name, Age, Class FROM Students_table WHERE Gender = 'Male' ORDER BY Class

13
New cards

SQL: INSERT

A key word in the SQL programming language used to INSERT a never record into a database table. e.g. INSERT INTO Students_table VALUES (021, 'Amanda Jones', 15/10/1980, 'F', 'VRO', 'H739')

14
New cards

SQL: UPDATE

A key word in the SQL programming language used to UPDATE an entry in a database table. e.g. UPDATE Students_table SET Form_group = 9S WHERE Form_group = 8S

15
New cards

SQL: DELETE

A key word in the SQL programming language used DELETE records from a database table. e.g. DELETE FROM Students_table WHERE Tutor group = 'FMC'