Skip to content

Commit

Permalink
Update calculate.sql
Browse files Browse the repository at this point in the history
Added strings concatenation example
  • Loading branch information
rozhnev authored Dec 30, 2024
1 parent cea8ddd commit 3470e55
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/core/calculate.sql
Original file line number Diff line number Diff line change
@@ -2,6 +2,8 @@ select 2 + 3; -- simple calculation

select 60 * 60 * 24; -- calculate seconds in 24 hours

select 'Happy ' || 'New Year!'; -- strings concatenation

select PI() * POW(5, 2); -- using functions

select current_date, current_time; -- current date and time

0 comments on commit 3470e55

Please sign in to comment.