Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Finding Minimum
Message
 
À
10/07/2006 14:03:13
Chandan Chakraborty
Bangiya Gramin Vikash Bank
Raiganj, Inde
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Versions des environnements
Visual FoxPro:
VFP 6
OS:
Windows '98
Network:
Windows 98
Database:
Visual FoxPro
Divers
Thread ID:
01135049
Message ID:
01135053
Vues:
12
This message has been marked as the solution to the initial question of the thread.
One of the solutions:

sele accountno, balance from table1;
union;
sele accountno, balance from table2;
union;
sele accountno, balance from table3;
into curs temp1 nofilt

sele accountno, min(balance) from temp1 group by 1

>Hello Experts!
>
>I have three tables. Each of them I am storing date, accountno and balance for diferrent periods,e.g,in the the 1st table for 11th to last date of a month,in the second for 1st to 10th of the same month and in the third table for the previous month.Now I want to find the minimum balance for each account from the 3 tables. Please help me.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform