Istnieje prosta i mało znana sztuczka MySQL:
SELECT * FROM countries_table
ORDER BY name = 'Australia' desc,
name = 'UAE' desc,
name = 'Pakistan' desc,
name = 'UK' desc,
name = 'USA' desc,
name asc;
Istnieje prosta i mało znana sztuczka MySQL:
SELECT * FROM countries_table
ORDER BY name = 'Australia' desc,
name = 'UAE' desc,
name = 'Pakistan' desc,
name = 'UK' desc,
name = 'USA' desc,
name asc;