Select if exists => if exist : get value, if not: set value
Fermé
JamieMacUloth
Messages postés
43
Date d'inscription
jeudi 16 février 2017
Statut
Membre
Dernière intervention
6 juin 2022
-
4 juil. 2020 à 12:30
jee pee Messages postés 39650 Date d'inscription mercredi 2 mai 2007 Statut Modérateur Dernière intervention 26 avril 2024 - 4 juil. 2020 à 13:46
jee pee Messages postés 39650 Date d'inscription mercredi 2 mai 2007 Statut Modérateur Dernière intervention 26 avril 2024 - 4 juil. 2020 à 13:46
A voir également:
- Select if exists => if exist : get value, if not: set value
- If exist java - Forum Java
- Connexion messenger if - Guide
- Vba if not ✓ - Forum Excel
- Php if plusieurs conditions ✓ - Forum PHP
- 404 not found: requested route ('rms.orange.fr') does not exist. - Forum Matériel & Système
1 réponse
jee pee
Messages postés
39650
Date d'inscription
mercredi 2 mai 2007
Statut
Modérateur
Dernière intervention
26 avril 2024
9 238
4 juil. 2020 à 13:46
4 juil. 2020 à 13:46
Bonjour,
Et une jointure externe ?
Et une jointure externe ?
select A.LOGICAL_CONNECTOR_ID, A.LOGICAL_CONNECTOR, IFNULL(B.LOGICAL_CONNECTOR_NB,0) from tableA as A left outer join tableB as B ON A.LOGICAL_CONNECTOR_ID = B.LOGICAL_CONNECTOR_ID