SQL: How to create result as shown below -



SQL: How to create result as shown below -

i facing issue below case:

i/p table:

column_1 column_2 b b c c d d

cross bring together give me below result

actual o/p value: aa ab--this combinati on repeated ac advertisement ba--this combination repeated bb bc bd ca cb cc cd da db dc dd

expected op:

aa ab ac advertisement bb bc bd cc cd dd

i dont want combinations repeated: ab , ba.

add status requiring sec value greater or equal first:

.... (column_2 >= column_1)

sql

Comments

Popular posts from this blog

javascript - mongodb won't find my schema method in nested container -

How do you set up a perforce server to work over the internet? -

ios - Lagging ScrollView with UIWebview inside -