MySQL Forums
Forum List  »  General

Re: XOR returns true when OR returns false
Posted by: Andy Lanng
Date: August 17, 2016 02:15AM

The test data I sent was cut short of the full set in my tables but I am surprised that nothing at all was returned from the view.

In answer to the question 'What does the query return', It brought back ldz_from_rec_region as 15 and each of the 14 distinct_region (10 - 23) (so each row is 15,10 - 15,11 etc

The aim is to have 1 row for each of the 14 regions with 1 related ldz and ldz_exit. Which ldz it returns doesn't matter, I just need 1 example of each.

My biggest concern is still that the query works in 5.6 and not in 5.7. Other than the versions the databases are identical.

Options: ReplyQuote


Subject
Written By
Posted
Re: XOR returns true when OR returns false
August 17, 2016 02:15AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.