I had a requirement like select * from USER where firstname IN ('nexus', 'samsung', 'apple');
On executing this query , i get results based on insertion order of rows in database.But i need the results exactly same way, i given for IN parameter. for ex : the above query should give results like
nexus samsung apple
and not any other order like. samsung nexus apple
What can i use with the above query to get selection results in the order i given?