Dear all,
I have the following data
col1 col2 col3 col4
a decimal value decimal value decimal value
b decimal value decimal value decimal value
c decimal value decimal value decimal value
d decimal value decimal value decimal value
e decimal value decimal value decimal value
f decimal value decimal value decimal value
g decimal value decimal value decimal value
h decimal value decimal value decimal value
in the 8 rows above there a 4 twin pairs, all the column values of each pair differ only by 0.5, how do i write a SQL query to identify the twin pairs and group them together.
thank you
harsha
I have the following data
col1 col2 col3 col4
a decimal value decimal value decimal value
b decimal value decimal value decimal value
c decimal value decimal value decimal value
d decimal value decimal value decimal value
e decimal value decimal value decimal value
f decimal value decimal value decimal value
g decimal value decimal value decimal value
h decimal value decimal value decimal value
in the 8 rows above there a 4 twin pairs, all the column values of each pair differ only by 0.5, how do i write a SQL query to identify the twin pairs and group them together.
thank you
harsha