Salut à tous,
Voici ma requête :
Je veux une requête qui renvoie les lignes supérieur à 0
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14 SQL> select jr_manuel, jr_mecano from jr_caisse; JR_MANUEL JR_MECANO --------- --------- 3500 0 300 0 0 600 0 600 600 0 500 0 500 300 7 ligne(s) sélectionnée(s).
Si je fais ceci sur un seul champ le résultat est bon
J'ai fais ceci mais elle n'est pas bonne
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11 SQL> select jr_manuel from jr_caisse 2 where jr_manuel>0; JR_MANUEL --------- 3500 300 600 500 500
Comment dois-je écrire alors ma requête? Merci de me venir en aide.
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8 SQL> select jr_manuel, jr_mecano 2 from jr_caisse 3 where jr_manuel>0 and jr_mecano>0; JR_MANUEL JR_MECANO --------- --------- 500 300
Partager