databases competency 7.00 objective 7.02 explain advanced database concepts and functions
TRANSCRIPT
![Page 1: Databases Competency 7.00 Objective 7.02 Explain advanced database concepts and functions](https://reader030.vdocument.in/reader030/viewer/2022032414/56649ef05503460f94c00e5c/html5/thumbnails/1.jpg)
DatabasesCompetency 7.00
Objective 7.02
Explain advanced database concepts and functions.
![Page 2: Databases Competency 7.00 Objective 7.02 Explain advanced database concepts and functions](https://reader030.vdocument.in/reader030/viewer/2022032414/56649ef05503460f94c00e5c/html5/thumbnails/2.jpg)
Retrieving Data1. Open the database program
2. Select the desired database file and click open.
![Page 3: Databases Competency 7.00 Objective 7.02 Explain advanced database concepts and functions](https://reader030.vdocument.in/reader030/viewer/2022032414/56649ef05503460f94c00e5c/html5/thumbnails/3.jpg)
Open a Table in a Database File
Select the proper table to open
![Page 4: Databases Competency 7.00 Objective 7.02 Explain advanced database concepts and functions](https://reader030.vdocument.in/reader030/viewer/2022032414/56649ef05503460f94c00e5c/html5/thumbnails/4.jpg)
Displaying Database Tables
Example: DATASHEET VIEW of the MusicFun Table from the TUNES database
![Page 5: Databases Competency 7.00 Objective 7.02 Explain advanced database concepts and functions](https://reader030.vdocument.in/reader030/viewer/2022032414/56649ef05503460f94c00e5c/html5/thumbnails/5.jpg)
Use Filters to Select Data Filter: Displays records in a database that match
specified criteria. Advantages of using filters
Easier to use than query Fast
Disadvantages of filters All fields are displayed when using a filter Cannot save filters like queries
Types of filters By Form (key criteria into a form; more flexible because criteria can
be set for more than one field) By Selection (quick/easy option by highlighting a cell as criteria) Excluding Selection (excludes data highlighted in cell) Advanced Filter/Sort (works like a query)
![Page 6: Databases Competency 7.00 Objective 7.02 Explain advanced database concepts and functions](https://reader030.vdocument.in/reader030/viewer/2022032414/56649ef05503460f94c00e5c/html5/thumbnails/6.jpg)
Advanced Filter/Sort Menu
Choose the RECORDS Menu,
FILTER command,
Advanced filter/sort
![Page 7: Databases Competency 7.00 Objective 7.02 Explain advanced database concepts and functions](https://reader030.vdocument.in/reader030/viewer/2022032414/56649ef05503460f94c00e5c/html5/thumbnails/7.jpg)
Build a Query
Query: A database object that allows the user to select records/data from a database using multiple criteria (comparison operators) and arrangement (sorting) standards.
Advantages Queries can be saved
Each table can be associated with multiple queries
![Page 8: Databases Competency 7.00 Objective 7.02 Explain advanced database concepts and functions](https://reader030.vdocument.in/reader030/viewer/2022032414/56649ef05503460f94c00e5c/html5/thumbnails/8.jpg)
Set Conditions for Query
Field Affected
Sort Order
Criteria: ‘Release Date’ > ‘7/01/2004’
![Page 9: Databases Competency 7.00 Objective 7.02 Explain advanced database concepts and functions](https://reader030.vdocument.in/reader030/viewer/2022032414/56649ef05503460f94c00e5c/html5/thumbnails/9.jpg)
Comparison Operators for Queries and Filters
Equals = Does not equal <> Between and between and Less than < Greater than > Equal to or less than <= Equal to or greater than >=
![Page 10: Databases Competency 7.00 Objective 7.02 Explain advanced database concepts and functions](https://reader030.vdocument.in/reader030/viewer/2022032414/56649ef05503460f94c00e5c/html5/thumbnails/10.jpg)
Query: Advanced Criteria AND Condition: Uses the same row in the
Query Design window
The AND condition reduces the number of records because both conditions must be met.
OR Condition: Uses different rows in the Query Design window
The OR condition increases the number of records because records are selected if either condition is met.
![Page 11: Databases Competency 7.00 Objective 7.02 Explain advanced database concepts and functions](https://reader030.vdocument.in/reader030/viewer/2022032414/56649ef05503460f94c00e5c/html5/thumbnails/11.jpg)
Query: AND Condition
Criteria: Genre = “Rock”
AND
Release Date after 2002
Results
AND condition listed on ONE line
![Page 12: Databases Competency 7.00 Objective 7.02 Explain advanced database concepts and functions](https://reader030.vdocument.in/reader030/viewer/2022032414/56649ef05503460f94c00e5c/html5/thumbnails/12.jpg)
Query: OR ConditionResults
Genre = Country OR Rock
And Release Date Greater than 01/01/2000
OR Condition takes 2 lines!
![Page 13: Databases Competency 7.00 Objective 7.02 Explain advanced database concepts and functions](https://reader030.vdocument.in/reader030/viewer/2022032414/56649ef05503460f94c00e5c/html5/thumbnails/13.jpg)
Search Records
To search for specific records, select Find command from the Edit menu.
Key the search string (data) in the dialog box.
Key “where” to find the records (which table).
Similar to Find/Replace commands in other programs
Not case sensitive
![Page 14: Databases Competency 7.00 Objective 7.02 Explain advanced database concepts and functions](https://reader030.vdocument.in/reader030/viewer/2022032414/56649ef05503460f94c00e5c/html5/thumbnails/14.jpg)
Sorting To sort is to arrange data in a specific order.
Ascending sort: Alphabetical order (A to Z) or numerical order (1 to 9)
Descending sort: Reverse alphabetical order (Z to A) and largest to lowest number (9 to 1)
Simple sort: Arranges by only one field
Complex sort: Arranges data by multiple fields (first field, primary; second field, secondary)
![Page 15: Databases Competency 7.00 Objective 7.02 Explain advanced database concepts and functions](https://reader030.vdocument.in/reader030/viewer/2022032414/56649ef05503460f94c00e5c/html5/thumbnails/15.jpg)
Sort Using the Toolbar
Ascending
Descending
![Page 16: Databases Competency 7.00 Objective 7.02 Explain advanced database concepts and functions](https://reader030.vdocument.in/reader030/viewer/2022032414/56649ef05503460f94c00e5c/html5/thumbnails/16.jpg)
Complex Sort
Multiple field sort:
Primary sort – first field chosen
Secondary sort –
second field chosen
![Page 17: Databases Competency 7.00 Objective 7.02 Explain advanced database concepts and functions](https://reader030.vdocument.in/reader030/viewer/2022032414/56649ef05503460f94c00e5c/html5/thumbnails/17.jpg)
Datasheet View Sort
In Datasheet View, sorted fields must be highlighted and adjacent (sides touching).
Sort priority: sort left to right Leftmost column (field) = primary sort
Next field = secondary sort
![Page 18: Databases Competency 7.00 Objective 7.02 Explain advanced database concepts and functions](https://reader030.vdocument.in/reader030/viewer/2022032414/56649ef05503460f94c00e5c/html5/thumbnails/18.jpg)
The Database ReportA database object used to organize, summarize, and print all or some of the data in a database.
![Page 19: Databases Competency 7.00 Objective 7.02 Explain advanced database concepts and functions](https://reader030.vdocument.in/reader030/viewer/2022032414/56649ef05503460f94c00e5c/html5/thumbnails/19.jpg)
Advantages of a Report Data is viewed in an attractive format
Allows variations in fonts, colors, shading, and borders
Allows page layout design Allows images to be inserted
Shows specific fields or selected records rather than an entire table
Allows records to be grouped/sorted with summaries and totals
Displays fields from multiple tables
![Page 20: Databases Competency 7.00 Objective 7.02 Explain advanced database concepts and functions](https://reader030.vdocument.in/reader030/viewer/2022032414/56649ef05503460f94c00e5c/html5/thumbnails/20.jpg)
Plan and Create a Report Determine the table/queries to be used in
the report
Determine what fields/data will be desired in the report
Plan the groupings and summary totals if desired
Enhance the appearance and design before printing
![Page 21: Databases Competency 7.00 Objective 7.02 Explain advanced database concepts and functions](https://reader030.vdocument.in/reader030/viewer/2022032414/56649ef05503460f94c00e5c/html5/thumbnails/21.jpg)
Determine the Fields Required
Using the Report Wizard, select the desired fields for the report from the table or query.
![Page 22: Databases Competency 7.00 Objective 7.02 Explain advanced database concepts and functions](https://reader030.vdocument.in/reader030/viewer/2022032414/56649ef05503460f94c00e5c/html5/thumbnails/22.jpg)
Organize the Report with GroupingThis report will be “grouped” by name.
![Page 23: Databases Competency 7.00 Objective 7.02 Explain advanced database concepts and functions](https://reader030.vdocument.in/reader030/viewer/2022032414/56649ef05503460f94c00e5c/html5/thumbnails/23.jpg)
Sort Data in the ReportSorting a field within the selected group will further organize the report.
![Page 24: Databases Competency 7.00 Objective 7.02 Explain advanced database concepts and functions](https://reader030.vdocument.in/reader030/viewer/2022032414/56649ef05503460f94c00e5c/html5/thumbnails/24.jpg)
Design the Appearance
Follow the Wizard’s Next Steps to format the design, style, and appearance of the report.
Name and preview the completed report.
![Page 25: Databases Competency 7.00 Objective 7.02 Explain advanced database concepts and functions](https://reader030.vdocument.in/reader030/viewer/2022032414/56649ef05503460f94c00e5c/html5/thumbnails/25.jpg)
Insert Pictures/Customize Database Reports
Insert pictures, labels, text boxes, and other graphic elements while in Design View.
![Page 26: Databases Competency 7.00 Objective 7.02 Explain advanced database concepts and functions](https://reader030.vdocument.in/reader030/viewer/2022032414/56649ef05503460f94c00e5c/html5/thumbnails/26.jpg)
Database Relationships
Relationship - A linked connection between two tables that share a common field.
Join Line - graphically represents the relationship between two tables
The related field between the two tables must be of the same data type and size
![Page 27: Databases Competency 7.00 Objective 7.02 Explain advanced database concepts and functions](https://reader030.vdocument.in/reader030/viewer/2022032414/56649ef05503460f94c00e5c/html5/thumbnails/27.jpg)
Establishing Relationships
One record in the Student Table is related to one record in the Participation Table
Relationship established between two tables