Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
projet_nf17_p19_tdg1_groupe2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Gaetan Carabetta
projet_nf17_p19_tdg1_groupe2
Commits
bdd32da4
Commit
bdd32da4
authored
May 23, 2019
by
Osvaldo Valdivia Salas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update Clinique_RO.sql
parent
0b3ff79a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
12 deletions
+13
-12
Clinique_RO.sql
Clinique_RO.sql
+13
-12
No files found.
Clinique_RO.sql
View file @
bdd32da4
...
...
@@ -20,18 +20,6 @@ CREATE OR REPLACE TYPE listNumeros AS TABLE OF numero;
CREATE
OR
REPLACE
TYPE
listTraitements
AS
TABLE
OF
traitement
;
/
CREATE
OR
REPLACE
TABLE
animal
(
id_animal
NUMBER
NOT
NULL
,
id_client
NUMBER
NOT
NULL
,
nom
VARCHAR
(
20
),
poid
FLOAT
,
TAILLE
FLOAT
,
dn
DATE
,
traitements
listTraitement
NOT
NULL
,
PRIMARY
KEY
(
id_animal
),
FOREIGN
KEY
(
id_client
)
REFERENCES
client
(
id_client
)
)
NESTED
TABLE
traitements
STORE
AS
l_traitements
;
/
CREATE
OR
REPLACE
TABLE
client
(
id_client
NUMBER
NOT
NULL
,
...
...
@@ -55,4 +43,17 @@ CREATE OR REPLACE TABLE espece(
PRIMARY
KEY
(
espece
),
FOREIGN
KEY
(
classeEspece
)
REFERENCES
classeEspece
(
classeEspece
)
);
/
CREATE
OR
REPLACE
TABLE
animal
(
id_animal
NUMBER
NOT
NULL
,
id_client
NUMBER
NOT
NULL
,
nom
VARCHAR
(
20
),
poid
FLOAT
,
TAILLE
FLOAT
,
dn
DATE
,
traitements
listTraitement
NOT
NULL
,
PRIMARY
KEY
(
id_animal
),
FOREIGN
KEY
(
id_client
)
REFERENCES
client
(
id_client
)
)
NESTED
TABLE
traitements
STORE
AS
l_traitements
;
/
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment