Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Help with query
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Miscellaneous
Thread ID:
01180517
Message ID:
01180546
Views:
12
You're welcome.

>Worked great Sergey, thanks a lot.
>I guess I need to sleep a bit more, brain is shutting down.
>
>>Itr's not clear what 'the first ocurrence' means. If it's MIN value, try
>>SELECT
>>		t1.ID,
>>		SUBSTRING(T2.NAME,1,20) AS cq_Status,
>>		MIN(ISNULL(t6.tar_num,0)) AS tar_num,
>>                COUNT(*)
>>...
>>GROUP BY t1.ID,	SUBSTRING(T2.NAME,1,20)
>>...
>>
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform