Jump to content

Array Comparison - (Moved)


Recommended Posts

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))

image.png.81586a7739fe8b36412fc9fd71535b33.png

Note: I changed the type and DescriptionofIssue column values before adding it to table B

Edited by genius257
Link to comment
Share on other sites

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 by Chimp

 

image.jpeg.9f1a974c98e9f77d824b358729b089b0.jpeg Chimp

small minds discuss people average minds discuss events great minds discuss ideas.... and use AutoIt....

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...