Quelle est la syntaxe SQL permettant de créer une base de données ?
Quiz sur l'implémentation d'une base de données

Quiz
•
Computers
•
12th Grade
•
Hard
Massoma Best
FREE Resource
14 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 2 pts
CREATE DATABASE nom_base ;
DROP DATABASE nom_base ;
ALTER DATABASE nom_base ;
ADD DATABASE nom_base ;
2.
MULTIPLE CHOICE QUESTION
1 min • 2 pts
Quelle est la contrainte qui permet de définir un champ comme clé primaire dans une table ?
PRIMARY KEY
NOT NULL
FOREIGN KEY
UNIQUE
3.
MULTIPLE CHOICE QUESTION
1 min • 2 pts
Quelle est la syntaxe SQL pour ajouter un champ dans une table existante ?
APPEND COLUMN nom_champ TYPE ;
ALTER TABLE nom_table ADD nom_champ TYPE ;
INSERT COLUMN nom_champ TYPE ;
ADD COLUMN nom_champ TYPE ;
4.
MULTIPLE CHOICE QUESTION
1 min • 2 pts
Quelle est la syntaxe SQL pour renommer une table ?
MODIFY TABLE nom_table TO nouveau_nom ;
RENAME TABLE nom_table TO nouveau_nom ;
CHANGE nom_table TO nouveau_nom ;
UPDATE TABLE nom_table TO nouveau_nom ;
5.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
Quelle est la syntaxe SQL pour supprimer une table ?
DELETE TABLE nom_table ;
ERASE TABLE nom_table ;
REMOVE TABLE nom_table ;
DROP TABLE nom_table ;
6.
MULTIPLE CHOICE QUESTION
1 min • 2 pts
Quelle est la contrainte qui précise que le champ doit être obligatoire dans une table ?
FOREIGN KEY
NOT NULL
UNIQUE
PRIMARY KEY
7.
MULTIPLE CHOICE QUESTION
1 min • 2 pts
Quelle est la syntaxe SQL pour supprimer un champ d'une table existante ?
DELETE COLUMN nom_champ ;
DROP COLUMN nom_champ ;
REMOVE COLUMN nom_champ ;
ERASE COLUMN nom_champ ;
Create a free account and access millions of resources
Similar Resources on Quizizz
18 questions
Chapitre 10 - 11

Quiz
•
12th Grade
18 questions
Chapitre 14 - IT essentiel

Quiz
•
12th Grade
10 questions
Quiz SQL : Requêtes et Manipulation

Quiz
•
12th Grade
10 questions
Structures de données

Quiz
•
12th Grade
15 questions
Introduction to TypeScript

Quiz
•
12th Grade
10 questions
Les variables sous Python

Quiz
•
10th - 12th Grade
12 questions
Quiz de Programmation en Langage C

Quiz
•
12th Grade
10 questions
Les Certificats

Quiz
•
12th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University