-- name: GetMerchantById :one SELECT * FROM merchants WHERE id = $1; -- name: GetMerchantByUserId :one SELECT * FROM merchants WHERE owner_id = $1;