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

The City School  2021-2022





             12. Save the query by using the right click on the query tab and save it with any
                                                                                                                    Handling Databases
                preferred name. In the example, we have saved the query with the name of Salaries
                Greater than 3500. Close the tab and run the query from the objects panel.
























             Example 2: Assume that we need the list of employees who have joined after the year
             2018.


                  Pinpoint                  Employees who joined after 2018


                  Identify                  FirstName, LastName, HireDate

                  Locate                    tblEmployee (EmployeeID, FirstName, LastName)
                                            tblHRData (HireDate)

                  Determine                 HireDate>12/30/2018



             1.  Add the preferred columns along
                with the field of HireDate from

                tblHRData.
             2.  And enter the criteria as

                >12/30/2018 and press enter.
             3.  Save the query with an

                appropriate name.
             4.  You will see list of employees who

                have joined after 2018.

















                                                                                                                147
   142   143   144   145   146   147   148   149   150   151   152