Jump to content
  • Advertisement


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

Rob Lemmens

Offtopic: SQL Question

This topic is 5564 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

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!