0
Database Fundamentals Module 7 Lesson 1
What is a Database? <ul><li>An organized collection of related information. </li></ul>
What is a Database Management System? <ul><li>Software that allows the computer to create a database; add, change, and del...
Have you ever used a database? <ul><ul><li>Printed </li></ul></ul><ul><ul><li>Address books </li></ul></ul><ul><ul><li>Dic...
NetFlix is a Database? <ul><li>Yes! </li></ul><ul><li>NetFlix stores its movie titles in a database that is easily searche...
Cell Phone Contacts are in a  Database? <ul><li>Yes! </li></ul><ul><li>All of the information you enter about your contact...
Electronic v. Print <ul><li>Why is a computerized database better than a print database? </li></ul><ul><ul><li>Accurate, q...
What can you put in a Database? <ul><li>Any information that is related. </li></ul><ul><li>Major League Baseball </li></ul...
Databases about you <ul><li>Did you know that your doctor and your school also keep data (information) about you in a data...
Steps to creating a Database <ul><li>Plan and design the database according to needs and requirements </li></ul><ul><li>De...
How do I enter data into a Database? <ul><li>Keyboard </li></ul><ul><li>Mouse </li></ul><ul><li>PDA’s </li></ul><ul><li>Sc...
Parts of a Database <ul><li>An  entry  is data that is in a field </li></ul><ul><li>A  field  is one category of informati...
Example <ul><li>The phone book is a  file  which contains a  record  for each subscriber. Each subscriber record contains ...
Examples of an  Entry 44897 NC Oakwood 26 Main Street Sarah Sawyer 55987 NC Bogard 76 Liberty Rd Juan Goins 22558 NC Silas...
Examples of a  Field 44897 NC Oakwood 26 Main Street Sarah Sawyer 55987 NC Bogard 76 Liberty Rd Juan Goins 22558 NC Silas ...
Examples of an  Record Records 44897 NC Oakwood 26 Main Street Sarah Sawyer 55987 NC Bogard 76 Liberty Rd Juan Goins 22558...
Example of a Database  File 44897 NC Oakwood 26 Main Street Sarah Sawyer 55987 NC Bogard 76 Liberty Rd Juan Goins 22558 NC...
Typical views of a database <ul><li>List view </li></ul><ul><ul><li>Displays several records on the screen at a time, ofte...
Typical views of a database <ul><li>Form view </li></ul><ul><ul><li>Displays one record on the screen at a time. </li></ul...
General data types <ul><li>Currency  ($9.99) </li></ul><ul><li>Date  (03/03/03 or March 3, 2003) </li></ul><ul><li>Numeric...
What can you do with a Database? <ul><li>Sort </li></ul><ul><ul><li>Ascending (A, B, C or 1, 2, 3) </li></ul></ul><ul><ul>...
Sort <ul><li>To arrange data in alphabetical or numerical order. </li></ul><ul><ul><li>Ascending:  Sorting data in alphabe...
Sort Ascending by Rank Descending by Rank
Sort Ascending by Rank Descending by Rank
Sort Ascending by Rank Descending by Rank
Primary/Secondary Sorts <ul><li>Primary key:  The field selected as the unique identifier for the database.(i.e.  Student ...
Search:  Filter v Query <ul><li>A method to find specific data within a database that meets certain criteria. </li></ul><u...
How do they work? <ul><li>Queries/Filters use  connectors  and  comparison operators  to define the search criteria </li><...
Comparison Operators <ul><li>=  equals </li></ul><ul><li><  less than (no more than, fewer than) </li></ul><ul><li>>  grea...
Connectors <ul><li>And—must meet both criteria, yields fewer results </li></ul><ul><li>Or—must meet either criteria, yield...
Upcoming SlideShare
Loading in...5
×

Database fundamentals

750

Published on

Published in: Technology, Education
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
750
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
38
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Transcript of "Database fundamentals"

  1. 1. Database Fundamentals Module 7 Lesson 1
  2. 2. What is a Database? <ul><li>An organized collection of related information. </li></ul>
  3. 3. What is a Database Management System? <ul><li>Software that allows the computer to create a database; add, change, and delete data in the database; sort the data; retrieve the data; and create forms and reports using the data in the database. </li></ul>
  4. 4. Have you ever used a database? <ul><ul><li>Printed </li></ul></ul><ul><ul><li>Address books </li></ul></ul><ul><ul><li>Dictionaries </li></ul></ul><ul><ul><li>Encyclopedias </li></ul></ul><ul><ul><li>Library card catalogs </li></ul></ul><ul><ul><li>Telephone directories </li></ul></ul><ul><ul><li>Electronic </li></ul></ul><ul><ul><li>Cell phone contacts </li></ul></ul><ul><ul><li>Google </li></ul></ul><ul><ul><li>FaceBook </li></ul></ul><ul><ul><li>NetFlix </li></ul></ul><ul><ul><li>GameLibrary </li></ul></ul><ul><ul><li>Amazon.com </li></ul></ul>
  5. 5. NetFlix is a Database? <ul><li>Yes! </li></ul><ul><li>NetFlix stores its movie titles in a database that is easily searched and sorted to find the perfect movie for you. </li></ul><ul><li>Search by Genre, Actor, Director, Rating </li></ul><ul><li>Sort by Production Date, Stars </li></ul>
  6. 6. Cell Phone Contacts are in a Database? <ul><li>Yes! </li></ul><ul><li>All of the information you enter about your contacts goes into a database stored on your phone. You can store names, phone numbers, email addresses and lots of other information. </li></ul><ul><li>Your contacts can easily be searched and sorted </li></ul>
  7. 7. Electronic v. Print <ul><li>Why is a computerized database better than a print database? </li></ul><ul><ul><li>Accurate, quick and efficient arrangement of data in alphabetical or numerical order </li></ul></ul><ul><ul><li>Ability to find and retrieve data </li></ul></ul><ul><ul><li>Ability to generate reports on the database </li></ul></ul><ul><ul><li>Ease of editing existing data </li></ul></ul>
  8. 8. What can you put in a Database? <ul><li>Any information that is related. </li></ul><ul><li>Major League Baseball </li></ul><ul><li>Colleges </li></ul><ul><li>Nutrition </li></ul><ul><li>Countries </li></ul><ul><li>Endangered Species </li></ul><ul><li>Dictionary </li></ul>
  9. 9. Databases about you <ul><li>Did you know that your doctor and your school also keep data (information) about you in a database? What type of data do you think they store?   </li></ul><ul><ul><li>Your name (both) </li></ul></ul><ul><ul><li>Your address (both) </li></ul></ul><ul><ul><li>Your date of birth (both) </li></ul></ul><ul><ul><li>Vaccination Shot records (medical record)  </li></ul></ul><ul><ul><li>Medicines that you may be allergic to (medical record) </li></ul></ul><ul><ul><li>Grades (School Record) </li></ul></ul><ul><ul><li>Certificates (School)  </li></ul></ul><ul><ul><li>Social Security Number (both)  </li></ul></ul><ul><li>As you can see, not only do you use a database, but information about you is also in a database or two J. </li></ul>
  10. 10. Steps to creating a Database <ul><li>Plan and design the database according to needs and requirements </li></ul><ul><li>Determine the fields or categories that will be used in the database </li></ul><ul><li>Determine field properties to include size and type </li></ul>
  11. 11. How do I enter data into a Database? <ul><li>Keyboard </li></ul><ul><li>Mouse </li></ul><ul><li>PDA’s </li></ul><ul><li>Scanners </li></ul><ul><li>Speech Recognition Software </li></ul><ul><li>Web forms </li></ul>
  12. 12. Parts of a Database <ul><li>An entry is data that is in a field </li></ul><ul><li>A field is one category of information (A field name is the title that is assigned to a field) </li></ul><ul><li>A record is a group of related fields of one item of information in the database </li></ul><ul><li>A file is the collection of related records. </li></ul>Click the button for a brief video. A new website will open, be sure to return to this presentation.
  13. 13. Example <ul><li>The phone book is a file which contains a record for each subscriber. Each subscriber record contains three fields: name, address, and phone number. The records are sorted alphabetically by the name field, which is called the key field--or primary key. </li></ul>
  14. 14. Examples of an Entry 44897 NC Oakwood 26 Main Street Sarah Sawyer 55987 NC Bogard 76 Liberty Rd Juan Goins 22558 NC Silas 33 East Street Tom Adams Zip State City Address First Name Last Name
  15. 15. Examples of a Field 44897 NC Oakwood 26 Main Street Sarah Sawyer 55987 NC Bogard 76 Liberty Rd Juan Goins 22558 NC Silas 33 East Street Tom Adams Zip State City Address First Name Last Name
  16. 16. Examples of an Record Records 44897 NC Oakwood 26 Main Street Sarah Sawyer 55987 NC Bogard 76 Liberty Rd Juan Goins 22558 NC Silas 33 East Street Tom Adams Zip State City Address First Name Last Name
  17. 17. Example of a Database File 44897 NC Oakwood 26 Main Street Sarah Sawyer 55987 NC Bogard 76 Liberty Rd Juan Goins 22558 NC Silas 33 East Street Tom Adams Zip State City Address First Name Last Name
  18. 18. Typical views of a database <ul><li>List view </li></ul><ul><ul><li>Displays several records on the screen at a time, often referred to as Datasheet View </li></ul></ul>
  19. 19. Typical views of a database <ul><li>Form view </li></ul><ul><ul><li>Displays one record on the screen at a time. </li></ul></ul><ul><ul><li>Commonly used in data entry. </li></ul></ul>
  20. 20. General data types <ul><li>Currency ($9.99) </li></ul><ul><li>Date (03/03/03 or March 3, 2003) </li></ul><ul><li>Numeric (450 or 4,500,000) </li></ul><ul><ul><li>These numbers can be used in calculations </li></ul></ul><ul><ul><ul><li>I.E. Gross pay, basketball statistics, etc. </li></ul></ul></ul><ul><li>Text /General (Smith or 910-555-5468) </li></ul><ul><ul><li>Numbers may used, but would not be computed </li></ul></ul><ul><ul><ul><li>I.E. Social security numbers, telephone numbers, etc. </li></ul></ul></ul>
  21. 21. What can you do with a Database? <ul><li>Sort </li></ul><ul><ul><li>Ascending (A, B, C or 1, 2, 3) </li></ul></ul><ul><ul><li>Descending (Z, Y, X or 3, 2, 1) </li></ul></ul><ul><li>Search </li></ul><ul><ul><li>Filter </li></ul></ul><ul><ul><li>Query </li></ul></ul><ul><li>Reports </li></ul>
  22. 22. Sort <ul><li>To arrange data in alphabetical or numerical order. </li></ul><ul><ul><li>Ascending: Sorting data in alphabetical order from A-Z or numerical order from 0-9. </li></ul></ul><ul><ul><li>Descending: Sorting data the opposite of ascending order. (Z-A & 9-0) </li></ul></ul>
  23. 23. Sort Ascending by Rank Descending by Rank
  24. 24. Sort Ascending by Rank Descending by Rank
  25. 25. Sort Ascending by Rank Descending by Rank
  26. 26. Primary/Secondary Sorts <ul><li>Primary key: The field selected as the unique identifier for the database.(i.e. Student number) </li></ul><ul><li>Primary sort: The first field that a database is sorted on. </li></ul><ul><li>Secondary sort: The second field that a database is sorted on. </li></ul>Primary Key: Student No. Primary Sort: Last name (in Descending order) Secondary Sort: Age (in ascending order) 010 005 001 Student No. 10 16 Brown 8 14 Brown 6 12 Pate Grade Age Last Name
  27. 27. Search: Filter v Query <ul><li>A method to find specific data within a database that meets certain criteria. </li></ul><ul><li>The difference? </li></ul><ul><ul><li>Queries can be saved and printed. </li></ul></ul>
  28. 28. How do they work? <ul><li>Queries/Filters use connectors and comparison operators to define the search criteria </li></ul><ul><ul><li>Connectors (AND, OR, NOT) </li></ul></ul><ul><ul><li>Comparison operators (<, >, <=, >=, =, <>) </li></ul></ul>
  29. 29. Comparison Operators <ul><li>= equals </li></ul><ul><li>< less than (no more than, fewer than) </li></ul><ul><li>> greater than (no fewer than, more than) </li></ul><ul><li><= less than or equal to (at most) </li></ul><ul><li>>= greater than or equal to (at least) </li></ul>
  30. 30. Connectors <ul><li>And—must meet both criteria, yields fewer results </li></ul><ul><li>Or—must meet either criteria, yields more results </li></ul><ul><li>Not—except </li></ul>
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×