Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 2

Lab No:04

Title: Simple Query Designing and Advance Queries (Custom Calculations in


Queries).

Objective:
Using a query makes it easier to view, add, delete, or change data in your database. The objective
of query is:
 Find specific quickly data by filtering on specific criteria (conditions).
 Calculate or summarize data.
 Automate data management tasks, such as reviewing the most current data on a recurring
basis.

Title: Database keys, Format, Caption, Input masks and Validation rules.
Objective of Lab:
In this lab we are familiar about different types of data keys, Format, Caption, Input masks and
Validation rules.

Post lab Tasks:

Task 1:
Only show “title_name” and “type” records with royalty rates less than 0.08 or with advances that are less
than 30000. Do not show the advance and royalty rates fields in the query.
Task 2:
(IFF Statement)
We would like our new field to contain the value “has a contract” if the value of the sales field in
bktblTitles is greater than 500, and “no contract” if that value is less than and equal to 500. Write the
expression in expression builder.

Task 3:
Modify the expression name so that it is called “Contract” in Task 2.

Conclusion:
In this lab we make query and retrieve data with the help of query. We also implement different
types of builder expressions.

You might also like