Arithmetic expressions
You just heard that there is a 50 cent transaction fee for people buying music on eSymphony. Let's create a new column that holds the final amount a customer has paid. The information you need is in the Total column of the Invoice table.
Remember that in the SELECT statement you can use the following arithmetic operators: +, -, *, and /.
Este exercício faz parte do curso
Introduction to Oracle SQL
Instruções do exercício
- Add
0.50to the total amount listed on the invoice.
Exercício interativo prático
Experimente este exercício completando este código de exemplo.
-- Add 50 cents to the total amount
___ ___ ___ ___
___ ___