shadedecho
Programmer
OK, I want to construct a SQL query that returns a result set of unique pairs of 2 fields:
table A: table B:
x y x y
___ ___ ___ ___
3 4 4 5
4 5 4 6
3 6 3 4
4 5
the result set would do a DISTINCTROW across both tables, giving me something like
x y
___ ___
3 4
4 5
3 6
4 6
Help! (If it helps, I am using MySQL 3.23, and I'd like to not have to do anything like SELECT'ing into temp tables or anything like that)... anyone know how I can accomplish this?
table A: table B:
x y x y
___ ___ ___ ___
3 4 4 5
4 5 4 6
3 6 3 4
4 5
the result set would do a DISTINCTROW across both tables, giving me something like
x y
___ ___
3 4
4 5
3 6
4 6
Help! (If it helps, I am using MySQL 3.23, and I'd like to not have to do anything like SELECT'ing into temp tables or anything like that)... anyone know how I can accomplish this?