0% found this document useful (0 votes)
3 views

Chap 5 Cmplt

Uploaded by

akram.karor5050
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views

Chap 5 Cmplt

Uploaded by

akram.karor5050
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

QUERIES CHAPTER 5

Query:

The word Query is derived from the English word Question and Inquiry. Which means to ask, i.e. to get information about
someone. Query in Microsoft X MS Access is used to view existing data, find required data, change existing data and
analyze data and based on this Query Forms and Reports are created. Can also be prepared.

For example, if we want to find a specific record in the existing data, we use the Query object of MS-Access. For example,
suppose we have to select only those students who have passed from the result data of all students. Similarly, if we need
to change any record in the existing data, for example, if the address of a student changes, then in the data. We also have
to use Query to make this change.

Query refers to getting some information regarding the store data in the table and performing some action on data.

MS Access allows us to create many types of queries. Which are as follows:

1. Select Query 2 Parameter Query (Parameter Query) 3 Cross Tab Query 4- Action Query (Action Query)

1 Select Query:

This is the most used query. This Query retrieves the required data from one or more files.

Shows space together. We know that a well-designed data is often more data about an object

It is stored in more than one wallet, so searching for your required data separately in multiple wallets is quite tedious and
time consuming.

It is a difficult task and this purpose is well served by Select Query.

How to make select query :

With the help of design view:

1. Open database
2. Click on queries
3. in the main database window select create query in design view
4. show table dialogue box will appear in it tables list will appear
5. select the tables and then click on close button
6. in the next there are different options are avail for to make query
7. "Double-click on the required fields in the tables to add them to the query."
8. . If you want to view yours in a specific order (Descending or Ascending), select Descending Ascending in the desired
column through the Sort option in the query grid
9. If you want to look at a specific record, use the Query Design Grid. Enter the conditions in the required field by
Criteria.
10.To save the query, click the Save button in the standard toolbar or click Save in the File menu, and the Save As
dialog box will open. Type the name of the query in it and click the Ok button.
11.Click run button
12.Results will shown

Creating a Query through the Query Wizard:

Follow these steps to create a Select Query using the Query Wizard:

1. In the Main Data window, click on "Queries" from the list of Objects.

2. Click "New" in the standard toolbar of the main data window. The "New Query" dialog box will appear. Select "Simple
Query Wizard" and press the "OK" button. Alternatively, double-click the "Create Query by Using Wizard" option in the
right part of the main data window.

You might also like