0% found this document useful (0 votes)
70 views2 pages

Database Lab 04

This document describes a lab on query design and custom calculations in queries. The objective is to use queries to view, add, delete, or change data by filtering on criteria, calculating or summarizing data, and automating data management tasks. The lab covers database keys, formats, captions, input masks, and validation rules. Post-lab tasks involve creating queries to only show specific fields meeting criteria, using an IIF statement to populate a new field based on a value, and modifying the name of an expression. The conclusion states that queries were used to retrieve data and different expression builders were implemented.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
70 views2 pages

Database Lab 04

This document describes a lab on query design and custom calculations in queries. The objective is to use queries to view, add, delete, or change data by filtering on criteria, calculating or summarizing data, and automating data management tasks. The lab covers database keys, formats, captions, input masks, and validation rules. Post-lab tasks involve creating queries to only show specific fields meeting criteria, using an IIF statement to populate a new field based on a value, and modifying the name of an expression. The conclusion states that queries were used to retrieve data and different expression builders were implemented.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 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