• Advertisement

Archived

This topic is now archived and is closed to further replies.

Offtopic: SQL Question

This topic is 5345 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

although i know its a bit offtopic but since there are so much smart people on this site i give it a shot: i have a simple query: ''select distinct "vi-debnr","ac-naam","ac-vnaam" from PUB."a-deb" where "vi-debnr" in (select distinct "vi-debnr" from PUB."a-vrddeb" where "vi-vlg" in (Select "vi-vlg" from pub."a-vord" where ("ac-refcor" = :KENMERK))) al it does is search for a debtor who has a Claim against him with a given description = -KENMERK-, the query returns the same record twice!! How can that be, the DISTINCT keyword should filter out double entry''s. Any idees anyone?? greetings

Share this post


Link to post
Share on other sites
Advertisement

  • Advertisement