Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Finding Minimum
Message
 
To
10/07/2006 14:03:13
Chandan Chakraborty
Bangiya Gramin Vikash Bank
Raiganj, India
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Environment versions
Visual FoxPro:
VFP 6
OS:
Windows '98
Network:
Windows 98
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01135049
Message ID:
01135053
Views:
11
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.
Previous
Reply
Map
View

Click here to load this message in the networking platform