Skip to content

Commit d3321bf

Browse files
authored
Update script.sql
1 parent 50f5645 commit d3321bf

File tree

1 file changed

+1
-1
lines changed
  • src/main/java/g3201_3300/s3220_odd_and_even_transactions

1 file changed

+1
-1
lines changed

src/main/java/g3201_3300/s3220_odd_and_even_transactions/script.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
select transaction_date,
44
sum(case when amount%2<>0 then amount else 0 end) as odd_sum,
55
sum(case when amount%2=0 then amount else 0 end) as even_sum from transactions
6-
group by transaction_date order by transaction_date;
6+
group by transaction_date order by transaction_date asc;

0 commit comments

Comments
 (0)