Page 145 - Computing E-Book Grade 6
P. 145

The City School  2021-2022




                       Locate

                       Know the fields that you need to include in your query and the tables they
                       are contained in.


                       Determine

                       Know the criteria the information in each field needs to meet and the                        Handling Databases
                       information you need to display.




             Creating Queries in MS Access


             Example 1: For this task, let’s continue working with the Employee table we have used

             before. Let us suppose that we need the data of our employees with their first name,
             last name and their salaries which are higher than 3500$.



                  Pinpoint                  Employees who earn more than $3500

                  Identify                  FirstName, LastName, StartSalary


                  Locate                    tblEmployee (EmployeeID, FirstName, LastName)
                                            tblHRData (StartSalary)
                  Determine                 StartSalary>$3500



            1.  Click on the Query Design option from the create tab.
















             2.  Select and add tbleEmployee and tblHRData.























                                                                                                                145
   140   141   142   143   144   145   146   147   148   149   150