Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Selecting the records if
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Selecting the records if
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Vista
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01323469
Message ID:
01323469
Vues:
57
I want to select the records like

If grade=F
message="Very poor fail"
If grade=E
message="very poor
endif
endif

select code,name,grade,;
CAST(SUM(IIF(grade="F",1,0)) AS I) "Very poor fail"
CAST(SUM(IIF(grade="E",1,0)) AS I) "Very poor "
..........
from student
thanks
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform