/*This SQL script uses Demos.abs database. 
  Please open ...\AbsoluteDatabase\Demos\Data\Demos.abs database file.
  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 ((e1."Ticket_price" + 10) * 2) as "price"
  from "events" e1
