Remove duplicate order by
This commit is contained in:
@ -29,14 +29,12 @@ WHERE id = $1;
|
||||
-- name: GetAllTransactionsForBudget :many
|
||||
SELECT t.*
|
||||
FROM display_transactions AS t
|
||||
WHERE t.budget_id = $1
|
||||
ORDER BY transactions.date DESC;
|
||||
WHERE t.budget_id = $1;
|
||||
|
||||
-- name: GetTransactionsForAccount :many
|
||||
SELECT t.*
|
||||
FROM display_transactions AS t
|
||||
WHERE t.account_id = $1
|
||||
ORDER BY transactions.date DESC
|
||||
LIMIT 200;
|
||||
|
||||
-- name: DeleteAllTransactions :execrows
|
||||
|
Reference in New Issue
Block a user