• Answers
  • Web
Answer 1 out of 9
 
A:

a good way to do this would be to create an inner join of the table to itself in the following syntax:

select a1.value, a2.value

from tablename a1

inner join tablename a2

on a1.commonfield=a2.commonfield

where a1.id < a2.id

for a more specific answer i will need to understand the table structure and some sample data in it

Hope this helps

Ohad

Posted 3 years ago
gliksman was invited by Yedda to answer this question.

 
Comment About This Answer (or add your own answer)

Feed - Subscribe to changes to this Q&A Blog
ADVERTISEMENT
  • Answers
  • Web
Copyright © 2006-2009, Yedda Inc. and respective copyright owners