Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Gaetan Carabetta
projet_nf17_p19_tdg1_groupe2
Commits
bc1a2529
Commit
bc1a2529
authored
Jun 19, 2019
by
Osvaldo Valdivia Salas
Browse files
Update requetes.sql
parent
5fb67332
Changes
1
Hide whitespace changes
Inline
Side-by-side
sql/requetes.sql
View file @
bc1a2529
...
...
@@ -7,8 +7,8 @@
/* Requête pour la quantité de médicament prescrite
à un animal */
SELECT
P
.
nomMolec
as
medicament
,
COUNT
(
*
)
as
quantite_prescrite
FROM
Posologie
P
WHERE
idAnimal
=
$
idAnimal
FROM
Posologie
P
JOIN
Traitement
T
on
P
.
traitement
=
T
.
idTraitement
WHERE
T
.
idAnimal
=
$
idAnimal
GROUP
BY
P
.
nomMolec
;
/* Requete pour le nombre de comprimé prescrit
...
...
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