How can I sort this resultset so that a column named itmlabel that corresponds to textid will come in the order 'B', 'R', 'E', 'V'?
SELECT DISTINCT a.itemtype, c.textid, c.min, c.max, rtrim(c.header) as header
FROM ONLINETST.vdepts d, ONLINETST.item a, ONLINETST.text c
WHERE...
How would I change this query that I am running from my servlet so that it takes out the duplicates of B and R just like it is currently doing, but then also combines E and V and removes their duplicates and orders them by E then V? I can add them together with the following code, but cannot...
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.