Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
How do I return only one of the values to show up twice in a table ?
Here are 2 tables: Here is requirement :
Colors SortID Colors
red 1 red
red 2 blue
red 3 green
blue 4 green
green 5
green 6
Hey there,
You could do something like this:
Load DISTINCT Colors FROM ...source_table...;
No that didn't work.
The dual ( value, sort ID ) doesn't work either.
I only need to show 'green' twice not the others
Hey there,
You could do something like this: