-- name: SelectSitesOwnedByUser :many
SELECT * FROM sites WHERE owner_id = ?;

-- name: SelectSiteByID :one
SELECT * FROM sites WHERE id = ?;

-- name: InsertSite :one
INSERT INTO sites (
    owner_id,
    title,
    tagline
) VALUES (?, ?, ?)
RETURNING id;