Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Very embarassing - Access query
Message
From
01/11/2005 09:10:11
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01063741
Message ID:
01063967
Views:
13
>>>>No, It didn't work in Access (2003).
>>>>
>>>Thanks, I guessed so.
>>
>>Give to me the primary key.
>
>My colleague is not here yet, I'll get back to you.

try this:
select * from Visits V
WHERE EXISTS(SELECT*FROM Visits
                    WHERE patient_name=V.patient_name
                      AND visit_date=V.visit_date
                      AND pkey<>V.pkey)
Previous
Reply
Map
View

Click here to load this message in the networking platform