Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL question
Message
From
06/08/2009 08:59:24
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Environment versions
Visual FoxPro:
VFP 9 SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01416401
Message ID:
01416440
Views:
69
>>
>>	select S.* ;
>>		from Schnaps S, ;
>>			( ;
>>				select c3 ;
>>					from Schnaps ;
>>					group by  1 ;
>>					having ( count( distinct c1 + c2 ) > 1) ;
>>			) AA ;
>>			where	( S.c3 == AA.c3 )
>>		
>>
>>
>>
>
>Unfortunately, this would not give us only error cases - I just thought of the same SQL. You don't need to join here. This would give all C3 cases even when a/b combination is the same - I don't see a simple way to separate them - need to think.

Yes, and start reading the question first
Gregory
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform