Calculations in queries
Answers are for parents and teachers.
1
A notebook costs 4000 so‘m and the quantity is 8. Find [Price]*[Qty].
32000
2
What is the total with 12% VAT for 32000 so‘m?
35840
3
What does IIf([Mark]>=3,"Pass","Fail") give for Mark = 2, 3, 5?
Fail, Pass, Pass
4
What is Avg in a group with the marks 5, 4, 3?
4
5
Why is Log(x)/Log(10) written for the base-10 logarithm in Access instead of Log(x)?
Because Log(x) is the natural logarithm; for base 10 it must be divided by Log(10).