X
X
xxxfdd2021-12-19 00:18:17
Python
xxxfdd, 2021-12-19 00:18:17

What is the solution to the problem?

I have one table with columns: Weight, Height, Hair Color and these columns are filled with values ​​and there is exactly the same table also with the same columns (Weight Height Hair Color) - and also filled with data

I need to compare each column with another for example Column Weight with Column Weight and so on, and if they are the same then make a decision. I can't make a clear decision. I will be grateful for any help.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vindicar, 2021-12-19
@Vindicar

Leaving behind the scenes the success of the solution with several tables containing the same data, I will say this.
First, you check the number of rows in the tables, if not equal, then you can stop looking, they do not match.
Then you sort both tables by the compared column, and you compare the values ​​from this column in pairs.
If there is at least one discrepancy, the tables do not match.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question