-- name: GetCategoriesOrdered :many
SELECT id, name
  FROM categories
 WHERE user_id = $1
 ORDER BY name ASC;