mardi 22 juin 2021

SQL SELECT WITH IF CONDITION

MY TABLE CONTAINS: KOD, STATUS_NEW, STATUS_OLD

I WANT TO SELECT FOR EACH ROW : KOD, STATUS_NEW

BUT IF : KOD=1 I WANT TO SELECT KOD, STATUS_NEW , STATUS_OLD

THANKS

Aucun commentaire:

Enregistrer un commentaire