Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added files_for_lab/consultas.sql
Binary file not shown.
5 changes: 5 additions & 0 deletions solutions.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
SELECT account_id, type, sum(amount) AS total_amount
FROM trans
WHERE account_id = 396
GROUP BY account_id, type
ORDER BY type ASC;