Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SubQuery Problem
Message
From
14/10/2006 04:56:32
Aaron K. Y. Chu
Health & Care Co. Ltd.
Hong Kong, Hong Kong
 
 
To
14/10/2006 04:51:37
Aaron K. Y. Chu
Health & Care Co. Ltd.
Hong Kong, Hong Kong
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
MySQL
Miscellaneous
Thread ID:
01161962
Message ID:
01161976
Views:
15
However, if I do this as follows:
SELECT a.case_no,min(appt_time) FROM appt_table a inner JOIN (select case_no FROM pt_tx2 where tx_date='2006-10-06') b ON a.case_no = b.case_no group by 1 order by 1
Best regards,

Aaron Chu

********************************************************

Working with Visual FoxPro is a lot of FUN!

********************************************************
Previous
Reply
Map
View

Click here to load this message in the networking platform