Need help to produce two SQL queries on the following situation:
I have a table that looks like this:
Column A Column B
A B
C D
E F
G H
B A
D C
F E
H G
These two columns are co-requisite of each other. In other words, A is a co-requisite of B, and B of A.
I need to produce two tables that would look like this:
Table1
Column A
A
C
E
G
Table2
Column A
B
D
F
H
Any kind of help would be grately appreciated. Thanks
I have a table that looks like this:
Column A Column B
A B
C D
E F
G H
B A
D C
F E
H G
These two columns are co-requisite of each other. In other words, A is a co-requisite of B, and B of A.
I need to produce two tables that would look like this:
Table1
Column A
A
C
E
G
Table2
Column A
B
D
F
H
Any kind of help would be grately appreciated. Thanks