Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Query help(list recurring records in a DB)
Message
 
 
À
27/04/2010 11:09:32
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
01461504
Message ID:
01462209
Vues:
31
>>>>I already re-wrote it correctly for you. Why did you write it incorrectly again?
>>>
>>>Cause i had it before an when i used one "ON" it keeps tellin me not a character expression
>>
>>Ok, fix the query first the way I wrote it.
>
>ok i got this...exactly
>
>SELECT Otest.app,Otest.id,Otest,fname,Otest.bday,;
>dup.numrec;
>FROM;
>       mainbase!otest;
>INNER JOIN (select fname as FName, COUNT(*) as numrec FROM otest group by FName HAVING COUNT (*)>1) ;
>dup on otest.fname=dup.fname
>
Right and this query should work.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform