You could try using a UNION of 2 SELECTs. I just did this in a SQL Server DB and it worked great.
The 1st select would grab only the id records. The 2nd select would grab the non id records.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.