Multiple level ordering April 6, 2023 by Tarik You could use e.g. ORDER BY rating DESC, name ASC to sort by rating and then, if the ratings are equal, by name.