leveetated
Programmer
This sounds simple - and perhaps it is - but I cannot seem to wrangle a query around this.
I have a table like this:
...and I simply want to select the rows where a given id has a displayorder value of > 1, but no displayorder =1 for that given id.
The solution is probably SO obvious but no matter what I write it's not excluding cases where a given id also has a displayorder of 1.
Thanks so much for any pointers.
Best,
Lee.
I have a table like this:
Code:
id displayorder
--- ------------
71398 1
81545 1
81545 2
81545 1
71398 2
11620 1
11620 2
11620 3
...and I simply want to select the rows where a given id has a displayorder value of > 1, but no displayorder =1 for that given id.
The solution is probably SO obvious but no matter what I write it's not excluding cases where a given id also has a displayorder of 1.
Thanks so much for any pointers.
Best,
Lee.