DB2 select distinct with order by
Today I had to select a distinct column on a DB2 table but I also wanted the query ordered. When I tried select distinct title from product order by price, qty the sql compiler complained that it didn’t recognise the order by statement. After a while of googling the problem,...