Mysql
 sql >> Database >  >> RDS >> Mysql

Come eliminare i calcoli duplicati in SQL?

SELECT *, LOCATE( column, :keyword ) AS somelabel 
FROM table 
WHERE somelabel > 0 
ORDER BY somelabel