-- name: SelectUserByUsername :one
SELECT * FROM users WHERE username = ? LIMIT 1;

-- name: SelectUserByID :one
SELECT * FROM users WHERE id = ? LIMIT 1;

-- name: InsertUser :one
INSERT INTO users (username, password) VALUES (?, ?) RETURNING id;

-- name: UpdateUser :exec
UPDATE users SET username = ?, password = ? WHERE id = ?;