Presentation is loading. Please wait.

Presentation is loading. Please wait.

Databases – Part 1 Databases– Part 1 Lesson 1 & 2.

Similar presentations


Presentation on theme: "Databases – Part 1 Databases– Part 1 Lesson 1 & 2."— Presentation transcript:

1 Databases – Part 1 http://www.yahmad.co.uk/ Databases– Part 1 Lesson 1 & 2

2 Databases – Part 1 Starter 1 – What is a Database? http://www.yahmad.co.uk/ A database is information organized in such a way that a computer program can quickly select pieces of data. 1.What will a doctors surgery, a school and The Police use a database for? 2.What type of information will be stored? 3.How would having a database benefit the school and doctors surgery?

3 Databases – Part 1 http://www.yahmad.co.uk/ Starter 2 – What are Data Types?

4 Databases – Part 1 http://www.yahmad.co.uk/ Overview You are the manager at a mobile phone shop. A System Analyst was invited into your business and conducted an investigation into the way data is managed. The System Analyst used the following techniques to collect the relevant information on the current system: Observations: This involves the systems analyst walking around the organisation or business, watching how things work with his own eyes. Interview: The systems analyst can interview key people within the system to find out how it works. Questionnaires: He asked the customers to complete a questionnaire to gauge their feedback on the current system. Collecting Documents: He look at the current paper based database for customer records. Conclusion: To improve the efficiency of managing the data a computer database must be created so that customer sales records can be stored electronically. Unit Overview

5 Databases – Part 1 http://www.yahmad.co.uk/ Objectives To understand the role of a Systems Analyst. To understand what a database is and how they are used. Understand the different types of data types used in Databases. Lesson Overview OutcomesTime Task 1Provide Examples of Databases & Identify Advantages Task 2Identify Data Types and Primary Key Task 3Create table for Mobile Phone Database and Task 4Import the Mobile Phone Sales CSV File Task 5Update Records and edit records

6 Databases – Part 1 http://www.yahmad.co.uk/ Task 1 & 2 Database Log: 1)Provide Examples of how databases are used in the following organisations & Identify Advantages 1)Doctors 2)School 3)Police 2) Identify Fields, Data Types and Primary Key

7 Databases – Part 1 http://www.yahmad.co.uk/ Task 3 – Create Table Microsoft Access: 1. Open Access and Save a New Database File – Call the File – Sales Database 2.Create a New table called “Mobile Phone Sales” 3.Include the Fields and Data Types Shown on the Right You need to be in Design View Refer to the Video Tutorial

8 Databases – Part 1 http://www.yahmad.co.uk/ Task 4 – Import CSV Microsoft Access: A comma-separated values (CSV) file stores tabular data (numbers and text) in plain-text form. The manager at the mobile shop has transferred all the sales data into a CSV File. Your Task is to attach the CSV file to your newly created database. 1. Click on External Data >> Text File 2.Browse for the CSV File and then click the option >> Append a copy of the records to the table. 3.The click Next and Finish to complete the Import. Refer to the Video Tutorial 1 2

9 Databases – Part 1 http://www.yahmad.co.uk/ Task 5 – Update Records Microsoft Access: The following customer sales records need to be updated. You can use the Primary Key to search for the records. Customer ID: 1 >>> (New Address: 220 Hazel Grove, H43 U79) Customer ID: 12 >>> (New Address: 93 Peace Street, P43 RT9) Customer ID: 19 >>> (New Address: 12 Jersey Terrace, J54 H75) Customer ID: 24 >>> (New Address: 59 Baker Street, B34 8HG) Add the New Sales Records: (No Student Discount Has Been Applied) Extras: Find this information from the previous records. IDCustomer NameAddress Line 1PostcodeModelBrandDate of PurchasePriceSales Person 41Adnan Januzaj56 Bridge StreetBE4 B64I phone 5Apple13/04/2014£350.00Rebbecca Reece 42Alexis Sanchez09 Cresset RoadC32 G87I phone 5Apple13/04/2014£350.00Khuram Majid 43Karim Benzema11 Albert RoadA52 P69s5Samsung14/04/2014£320.00Hatem Hassine 44Paul Pogba38 Baker StreetB34 7HGI phone 5Apple16/04/2014£350.00Hatem Hassine 45William Carvalho13 Kings RoadK43 K59s5Samsung16/04/2014£320.00Rebecca Reece

10 Databases – Part 1 http://www.yahmad.co.uk/ Plenary Task (Q&A) Peer Assess each others work and suggest possible improvements. Discuss the levels pupils have achieved for this task. Objectives To understand the role of a Systems Analyst. To understand the structure of a database (Tables and CSV Files). Understand the different types of data types used in Databases Plenary – Refer to the Lesson Objectives


Download ppt "Databases – Part 1 Databases– Part 1 Lesson 1 & 2."

Similar presentations


Ads by Google