Hi guys,
I am currently writing a complicated script (perl) to do something I feel I could do with one SQL command:
I have a table -
EXP_NAME ID CHANGE
A AX 234.23
A AB -23.23
A AC 22.23
B AX -43.25
B BZ 233.75
B AC -77.23
Basically I want to pull out all of the data for the rows where the ID's match between the EXP_NAMEs, so in this case A AX with B AX, A AC with B AC, A AB and B BZ would be ignored since they do not match.
This would be trivial if the EXPs were in different tables, but they're not!
Cheers,
I am currently writing a complicated script (perl) to do something I feel I could do with one SQL command:
I have a table -
EXP_NAME ID CHANGE
A AX 234.23
A AB -23.23
A AC 22.23
B AX -43.25
B BZ 233.75
B AC -77.23
Basically I want to pull out all of the data for the rows where the ID's match between the EXP_NAMEs, so in this case A AX with B AX, A AC with B AC, A AB and B BZ would be ignored since they do not match.
This would be trivial if the EXPs were in different tables, but they're not!
Cheers,