Download - Sorting databases

Transcript
Page 1: Sorting databases

Sorting Databases

Module 7 Lesson 2

Page 2: Sorting databases

Sort

To arrange data in alphabetical or numerical order.– Ascending: Sorting data in alphabetical order

from A-Z or numerical order from 0-9.– Descending: Sorting data the opposite of

ascending order. (Z-A & 9-0)

Page 3: Sorting databases

Sort

Ascending by Rank

Descending by Rank

Page 4: Sorting databases

Sort

Ascending by Rank

Descending by Rank

Page 5: Sorting databases

Sort

Ascending by Rank

Descending by Rank

Page 6: Sorting databases

Primary/Secondary Sorts

• Primary key: The field selected as the unique identifier for the database.(i.e. Student number)

• Primary sort: The first field that a database is sorted on.

• Secondary sort: The second field that a database is sorted on.

Student No.

Last Name Age Grade

001 Pate 12 6

005 Brown 14 8

010 Brown 16 10

Primary Key:Student No.

Primary Sort:Last name (in Descending order)

Secondary Sort:Age (in ascendingorder)

Page 7: Sorting databases

Sorting in Access

You can use the icons on the tool bar to sort your data.

ascending descending

Page 8: Sorting databases

Sorting in Access

You can use the Advanced Sort.

Record—Filter—Advanced Filter/Sort

Page 9: Sorting databases

Sorting in Access

Choose your field and your sort order

Page 10: Sorting databases

Sorting in AccessYou can have a Primary Sort and Secondary Sorts

Page 11: Sorting databases

Sorting in AccessApply your Sort: Filter—Apply Filter/Sort

Page 12: Sorting databases

Sorting in AccessView the results!

Ascending by Name Descending by Age

Page 13: Sorting databases

Video Demonstration

Click the button for a brief video. A new

website will open, be sure to return to this

presentation.

Page 14: Sorting databases

Top Related