genius257 Posted July 13, 2018 Share Posted July 13, 2018 (edited) So i think @iamtheky is right. Every Solution Change Number seems to be unique. I've checked in a SQLite database and made a quick look over of ID's + handpicked a few for manual match test. Edit: Copying a row from table A to table B and running the Query in reverse is evidence enough, i would say? Query: SELECT * FROM (SELECT * FROM A UNION SELECT * FROM B) WHERE SolutionChange IN (SELECT SolutionChange FROM A WHERE A.SolutionChange IN (SELECT SolutionChange FROM B) UNION SELECT SolutionChange FROM B WHERE B.SolutionChange IN (SELECT SolutionChange FROM A)) Note: I changed the type and DescriptionofIssue column values before adding it to table B Edited July 13, 2018 by genius257 Gianni 1 My highlighted topics: AutoIt Package Manager, AutoItObject Pure AutoIt, AutoIt extension for Visual Studio Code Github: AutoIt HTTP Server, AutoIt HTML Parser Link to comment Share on other sites More sharing options...
Gianni Posted July 13, 2018 Share Posted July 13, 2018 (edited) hi @iamtheky , you are right, since there are not commonalities in the 2 arrays, all records are returned... If I include both rows 0, I get only one set of the header... no, I do not get any header.@genius257, your SQL query is indeed ok Edited July 13, 2018 by Chimp Chimp small minds discuss people average minds discuss events great minds discuss ideas.... and use AutoIt.... Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now