I am trying to get results for a query type
SELECT * FROM table WHERE id IN(2,4,6,1,1,2) ORDER BY field (id,2,4,6,1,1,2)
and I want to get the results in the same order as the list, including: duplicates. The above query keeps order, but cuts out duplicates. I know I can post the results, but just wondering if there is an easier way.
thank
source
share