From the course: Access 2016: Queries

Unlock the full course today

Join today to access over 22,700 courses taught by industry experts or purchase this course individually.

Use mathematical operators

Use mathematical operators

From the course: Access 2016: Queries

Start my 1-month free trial

Use mathematical operators

- [Voiceover] One of the key factors in creating a clean and robust database, is knowing what date you need to store and what data you can derive or create from other records. For instance, if we think about how a payroll database might work, the number we're after is how much the employee earned at the end of a two week pay period. But will that dollar amount appear in any of our data tables, and I'd say, probably not. More than likely, a payroll database will simply include a record for the employee's hourly wage or salary and another record for the number of hours worked each shift. When cutting the checks, the payroll department simply adds up the number of hours worked during that pay period, multiplies that by the hourly wage, and gets the total for the check. By using some simple mathematical operations, in this case addition and multiplication, the payroll department is able to derive the value of the check, even though it doesn't appear anywhere in the database. The Design…

Contents