/*This SQL script uses the Demo database.
  This sample illustrates use of arithmetic functions in queries.
  In this query for every entry value of field "ticket_price"
  is added to 10 and then multiplied by two. The result column is
  given name "price".*/

select (ticket_price+10)*2 as price from events

