Passer au contenu

SQL — DDL and DML

Introduit
Fiche de cours
Leçon vidéo pour ce sujet Ouvrir la page vidéo
17:15

Bases de données & Modèle relationnel

Avant les bases de données, chaque programme gardait ses propres fichiers plats — un fichier par programme. Imaginez un magasin. Le programme de ventes, le programme de facturation et le programme d'expédition…

Narration en anglais · sous-titres en anglais et en 中文 au choix

Dans cette leçon

Leçon vidéo
Vocabulaire
English Sens
query languageA language used to request and work with data in a database.
tables/ˈteɪblz/A collection of data organised into rows and columns.
SQL/ˌes kjuː ˈel/
statement/ˈsteɪtmənt/A line of code that tells a program what to do.
Data Definition Language/ˈdeɪtə ˌdefɪˈnɪʃn ˈlæŋɡwɪdʒ/langage de définition de données
Data Manipulation Language/ˈdeɪtə məˌnɪpjʊˈleɪʃn ˈlæŋɡwɪdʒ/langage de manipulation de données
DBMS/ˌdiː biː em ˈes/Database management system: software for defining, storing, querying, updating and controlling access to a database.
database/ˈdeɪtəbeɪs/An organised collection of data that can be accessed and managed.
keysFields that identify rows or link rows in different tables.
queriesRequests for data from a database that may include conditions.
rowsHorizontal lines in a table, each containing one record.
Data types/ˈdeɪtə taɪps/Categories that define what kind of values a field can hold.
attribute/ˈætrɪbjuːt/A named property or characteristic associated with an object, element or record.
foreign key/ˈfɒrən kiː/A field or group of fields that refers to a candidate key in another or the same database table.
primary key/ˈpraɪməri kiː/A field or combination of fields that uniquely identifies each record in a database table.
field/fiːld/A named component of a record, with its own value and type.
condition/kənˈdɪʃn/A requirement or circumstance that affects what happens or whether something is true.
Strings/strɪŋz/Sequences of characters used as text in a program.
single quotesPairs of marks used around text values in SQL statements.
ComparisonsOperations that check the relationship between two values.
SQL scriptOne or more SQL statements written to perform database actions.
INNER JOIN/ˈɪnə dʒɔɪn/JOIN INTERNE
clause/klɔːz/A part of an SQL statement that performs a particular function.
result setThe collection of records returned when a query is run.
Aggregate functions/ˈæɡrɪɡeɪt ˈfʌŋkʃnz/Functions that produce a single summary value from multiple rows of data.

Fiche de cours

IGCSE, A-Level & AP