SELECT * FROM role ORDER BY name;

If you want to get distinct role names (though in this case, they are already unique), you can use:

SELECT DISTINCT name FROM role ORDER BY name;


Written by A.M. Rinas