Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédente |
etudiants:2016:arthur [2016/04/27 15:13] – arthur | etudiants:2016:arthur [2019/08/31 14:21] (Version actuelle) – modification externe 127.0.0.1 |
---|
====== Ordre de passage ====== | ~~DISCUSSION~~ |
== 1/ Formulations des règles de gestion OK == | ====== Arthur ====== |
== 2/ Dictionnaire des données OK == | |
== 2a/ MCD (Merise) OK == | |
== 2b/ Diagramme de classes OK == | |
== 3/ MLD (workbench) OK == | |
== 4/ Générations des données == | |
== 5/ SQL : Interrogations des données == | |
| |
---- | *[[etudiants:2016:arthur:tp1|TP1]] |
====== Liste des règles de gestion ====== | *[[etudiants:2016:arthur:stage1|Stage de 1ère année]] |
== Pour "Appartenir" : pour une parution donnée, il y a une ou plusieurs pages. == | |
== Pour "comporte_Image" : pour une page donnée, il y a qu'une ou aucunes images. == | |
==Pour "comporte_Texte" : pour une page donnée, il y a qu'un ou aucuns textes.== | |
| |
| |
---- | |
====== Requêtes SQL ===== | |
<sxh>1. SELECT numero,titre,poids FROM image WHERE poids > 1000; </sxh> | |
<sxh>2. SELECT texte.titre,titre,numero FROM ((text inner join comporte.text on text.num=num.text)(inner join page on page.id = idpage)) </sxh> | |
<sxh>3.Select nombrelignes, parution.num, parution.titre from (last from) group by parution.num, parution.titres order by DESC </sxh> | |
<sxh>4. SELECT texte.titre, image.titre FROM (Parution inner join Page on num.Parution=Parution.num) inner join comporte_image on Page.id=comporte_image ; idPage) inner join image on | |
comporte_image : num image.num) inner join comporte.texte on page.id = comporte.text, idPage) inner join text on comporte.text, numtext=texte.num WHERE Parution.num =1/5 AND Page.numero=5 </sxh> | |
<sxh>5.Select page.* From (parution inneroin page on parution.num=numParution inner join comporte.image on page.id = comporte.image.idpage Where parution.num=125 AND page.num NOT IN (select id.page from comporteImage)</sxh> | |
| |
---- | |
| |
====== Les schémas ====== | |
| |
{{:etudiants:2016:workbenche.png?300|}} | |
{{:etudiants:2016:arthur:diagramme_de_classe1.png?300|}} | |
{{:etudiants:2016:mcd_moise.png?300|}} | |
{{:etudiants:2016:dico_des_donnees.png?300|}} | |