Skip to content
GitLab
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
9ea32770
Commit
9ea32770
authored
Apr 10, 2019
by
Osvaldo Valdivia Salas
Browse files
Upload New File
parent
17803898
Changes
1
Show whitespace changes
Inline
Side-by-side
requetes.sql
0 → 100644
View file @
9ea32770
SELECT
nomMolec
as
medicament
,
COUNT
(
nomMolec
)
as
quantite_prescrit
FROM
Posologie
WHERE
idAnimal
=
$
idAnimal
GROUP
BY
nomMolec
;
SELECT
COUNT
(
*
)
as
quantite_medicament
FROM
Posologie
WHERE
nomMolect
=
$
nomMolec
;
SELECT
AVG
(
poid
)
as
Poids_Moyen
FROM
Animal
WHERE
especeNom
=
$
especeNom
;
SELECT
AVG
(
taille
)
as
Taille_Moyenne
FROM
Animal
WHERE
especeNom
=
$
especeNom
;
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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