[PDF] [PDF] Introduction au langage SQL SQL : QUOI vs - MINES ParisTech

2 Fabien Coelho Introduction au langage SQL SQL Structured Query Language DDL Data Definition Language définition, modification ou destruction d'un 



Previous PDF Next PDF





[PDF] Introduction aux langage SQL - Enseignement – Alexandre Meslé

Introduction aux langage SQL Alexandre 1 3 Introduction aux requêtes Microsoft SQL Server, la mouture de microsoft, qui est intégré au framework NET



[PDF] Cours de Base de Données Cours n4 Le langage SQL (partie I

Le langage SQL (partie I) Ce cours reprend beaucoup de Introduction Objectifs de SQL • Créer la simples ou complexes Langage orienté transformation 



[PDF] Cours 3 Le langage SQL - IGM

5 fév 2014 · Attention, certaines syntaxes ou fonctions sont propres au système de base de données utilisé Introduction au langage SQL http://dev mysql com 



[PDF] Introduction au langage SQL

Introduction au langage SQL Durée 2 jours (14 heures) Objectifs Appréhender les bases du langage SQL nécessaire à mise en œuvre d'un SGBDR



[PDF] Introduction au langage SQL - ComptaNatfr

www comptanat 1 Introduction au langage SQL Les bases de données relationnelles Le langage SQL est un langage universel destiné à travailler sur des



[PDF] SQL : Structured Query Language Introduction Langage de

SQL : Langage de Définition des Données (LDD) INTRODUCTION La définition de données dans SQL permet la définition des objets manipulés par le SGBD



[PDF] 4 – Introduction au langage SQL (2) : requêtes - Erwan TRANVOUEZ

Bernard ESPINASSE – PEIP 2013 – Séance 4 : Introduction au langage SQL 2 1- Introduction 2- Requêtes mono-tables 3- Requêtes multi-tables



[PDF] Introduction au langage SQL SQL : QUOI vs - MINES ParisTech

2 Fabien Coelho Introduction au langage SQL SQL Structured Query Language DDL Data Definition Language définition, modification ou destruction d'un 



[PDF] LANGAGE SQL - A2COM FORMATION

1- Introduction au langage SQL 2- Principes de la modélisation SQL Concepts préalables du langage SQL : tables, clés primaires, clés étrangères Le modèle 



[PDF] Base de Données : Le langage SQL

14 jan 2013 · 3 Plan du cours de Base de Données ○ Vaste introduction ○ Le modèle relationnel ○ Le langage SQL ○ Conception de BD ○ Base de 

[PDF] Introduction au Lean Six Sigma - Anciens Et Réunions

[PDF] Introduction au Lean Six Sigma Management de la

[PDF] INTRODUCTION AU LOGICIEL - Commercial Et Industriel

[PDF] Introduction au logiciel GAMS - Anciens Et Réunions

[PDF] Introduction au logiciel Matlab - Laboratoire Jacques - France

[PDF] INTRODUCTION AU LOGICIEL R - 3. Tests statistiques et graphes - Anciens Et Réunions

[PDF] INTRODUCTION AU LOGICIEL R QUELQUES EXERCICES

[PDF] INTRODUCTION AU LOGICIEL SAS

[PDF] introduction au logiciel word 2016

[PDF] Introduction au logiciel Xilinx ISE 9.2i - Gestion De Projet

[PDF] Introduction au Magnificat

[PDF] Introduction au Makefile - Anciens Et Réunions

[PDF] Introduction au marketing Introduction générale: Historique: Le - Gestion De Données

[PDF] Introduction au Massive Data

[PDF] Introduction au MCD - cours de developpement pour bts ig. algo

Fabien CoelhoIntroduction au langage SQLIntroduction au langage SQL

Fabien Coelho, Mines Paris - PSL

Composé avec L

ATEX, révision 4370.

1Fabien CoelhoIntroduction au langage SQL

SQL : QUOI vs COMMENT

langage déclaratif, description du résultat description basée sur l"algèbre relationnelle

Turing complet avec requêtesrécursives

-pas de programmation! pas de contrôle explicite :if else while for... pas d"interaction :print read... par contre ,administr ationév entuellementdélicates commentdéterminé par l"optimiseur choix indexation des tables...

2Fabien CoelhoIntroduction au langage SQL

SQLStructured Query Language

DDLData Definition Language

définition, modification ou destruction d"un schéma

CREATE ALTER DROP

DMLData Manipulation Language

interrogation et manipulation des données

SELECT INSERT UPDATE DELETE

DCLData Control Language

contrôle accès, transactions

GRANT REVOKE BEGIN COMMIT ROLLBACK SET

3Fabien CoelhoIntroduction au langage SQL

Objets manipulés

utilisateursROLE USER GROUP cataloguesDATABASE SCHEMA extensionsCONVERSION AGGREGATE CAST FUNCTION

LANGUAGE CLASS OPERATOR TYPE

donnéesTABLE SEQUENCE VIEW diversTRIGGER RULE CONSTRAINT INDEX

4Fabien CoelhoIntroduction au langage SQL

Principes syntaxiques de SQL

nombreux dialectes, variante PostgreSQL présentée casseindifférente,mais par convention:

MAJUSCULESmots clefs et fonctions de SQL

minusculesidentificateurs, longueur max 63 verbedésignant l"opération à effectuer

SELECT DELETE CREATE ALTER SET COMMIT...

clausesordonnées précisant l"opération

FROM WHERE GROUP HAVING LIMIT OFFSET

expressionstypes, constantes, opérateurs, fonctions...

INTEGER BOOL

123 "hello"

AND SQRT SIN terminaisonpar un point-virgule;

5Fabien CoelhoIntroduction au langage SQL

Un historique...

1970modèle relationnel par Codd, langage Alpha

1974QUEL langage pour Ingres, basé sur Alpha

1974Sequel(Structured English Query Language)

langage dév eloppépour System R (IBM) mais aussi successeur de Q UEL...

1976Sequel 2 = SQL, toujours prononcésequel

-SEQUEL est une marque déposée

1982début de normalisation ANSI

6Fabien CoelhoIntroduction au langage SQL

SQL :Structured Query Languageproduit par

ANSIAmerican National Standards Institute

X3.135, versions de 1986, 1989, 1992, 1999

NIST(US) National Institute of Standards and Technology

ISOInternational Standards Organization

ISO/IEC 9075:1992...

7Fabien CoelhoIntroduction au langage SQL

des Standards...

1986 ANSIbases

1989 ANSI/ISOintégrité référentielle

1992 ANSI/ISO SQL2extensionsEntry, Intermediate, Full

puisTransitional(NIST)

1999 SQL3réorg, extensionsCore, Enhanced

2003XML, séquences...

2006XML (suite)...

2008MERGE TRUNCATE...

2011gestion du temps(temporal databases)

2016JSON, ...

2019tableaux multidim...

8

Fabien CoelhoIntroduction au langage SQL

ISO/IEC 9075:2019 (aka SQL:2019)

Part 1FrameworkSQL/Framework

Part 2FoundationSQL/Foundation

Part 3Call-Level InterfaceSQL/CLI

Part 4Persistent Stored ModulesSQL/PSM

Part 5Row Pattern Recognition

Part 6Support for JSONSQL/JSON

Part 7Polymorphic table functions

Part 9Management of External DataSQL/MED

Part 10Object Language BindingsSQL/OLB

Part 11Information and Definition SchemasSQL/Schemata

Part 13Routines and types using JavaSQL/JRT

Part 14XML-Related SpecificationsSQL/XML

Part 15Multi-dimensional arraysSQL/MDA

La numérotation trouée n"est pas une erreur!

9Fabien CoelhoIntroduction au langage SQL

ISO/IEC 13249 Multimedia and Application Packages

Interfaces et packages basés sur SQL

Part 1Framework2016

Part 2Full-text2003

Part 3Spacial2016

Part 5Still image2003

Part 6Data mining2006

Part 7History2013

Part 8Metadata Registry AccessWIP

La numérotation trouée n"est toujours pas une erreur!

10Fabien CoelhoIntroduction au langage SQL

... et des dialectes!

Respect très élastique de la norme

MySQLpas de subquery avant v4

pas de transactions avant v5 (et encore) information_schemanon standard... pas d"opérateur différence ni intersection... OracleNULLet"équivalents, pas deAS,MINUSau lieu deEXCEPT, syntaxe jointure (WHERE,UNION,(+)) (v8)

MS SQL Server 2000pas deEXCEPTniINTERSECT!

ajouté à la version 2005

DB2clef primairesNULL

11Fabien CoelhoIntroduction au langage SQL

SQL - language universel d"accès aux données?

Bases distribuéesK-V, document stores, ...

Google BigT able/GFS

Hadoop HBase/HDFS

Cassandr a...

Interrogationavecmap-reduce

f onctionsd"e xtractionet de combinaisons comple xe,perf ormancessouv entmédiocres Surcouche (pseudo-)SQLGoogle Spanner, Apache Hive et Spark simple ,sémantique bien définie compilation/optimisation v ersmap-reduce mais performance pas forcément très bonnes...

12List of Slides

1 Introduction au langage SQL

2 SQL : QUOI vs COMMENT

3 SQLStructured Query Language

4 Objets manipulés

5 Principes syntaxiques de SQL

6 Un historique...

7 SQL :Structured Query Languageproduit par

8 des Standards...

9 ISO/IEC 9075 :2019 (aka SQL :2019)

10 ISO/IEC 13249 Multimedia and Application Packages

11 ... et des dialectes!12 SQL - language universel d"accès aux données?

quotesdbs_dbs14.pdfusesText_20