Hi All,
My two table data looks something like this:
table_a:
id key input
1300 1 1201
1300 2 1300
1300 3 1400
1400 1 1100
1400 2 1000
table_b:
id key input
1300 1 500
1300 2 1300
1300 3 1400
1400 1 1200
1400 2 1000
I want compare the input values between table_a and table_b. The values should be equal when the id and minimum key value and maxinum key value is the same in both table_a and table_b.
The output I need:
id key input
1300 1 500
1400 2 1000
Thank you!!
My two table data looks something like this:
table_a:
id key input
1300 1 1201
1300 2 1300
1300 3 1400
1400 1 1100
1400 2 1000
table_b:
id key input
1300 1 500
1300 2 1300
1300 3 1400
1400 1 1200
1400 2 1000
I want compare the input values between table_a and table_b. The values should be equal when the id and minimum key value and maxinum key value is the same in both table_a and table_b.
The output I need:
id key input
1300 1 500
1400 2 1000
Thank you!!