Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to make query results positive or negative ?
Message
De
13/01/2000 04:58:43
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
How to make query results positive or negative ?
Divers
Thread ID:
00317439
Message ID:
00317439
Vues:
51
I do have a query like: SELECT TYPE, TOTAL from Transaction
which results something like:
TYPE TOTAL
BUY 2000
SELL 1000
SELL 500

However I would like to have the result like this
BUY + 2000
SELL - 1000
SELL - 500

So depending on the TYPE there will be a + / - before the TOTAL.
How can I make that happen ?

Thanks

John

PS: feel free to send suggestions to my private emailaddress
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform