Do it now – PAGE 10 You will find your do it now task in your workbook – look for the start button! Sunday, 28 April 2019.

Slides:



Advertisements
Similar presentations
How data is stored. Data can be stored in paper-based systems including: Reference books Dictionaries Encyclopaedias Directories Index Files Filing systems.
Advertisements

Databases. What is a database? It is a collection of information, which can be searched and sorted. It can be information about anything. Toys, pupils,
DATA INFORMATION.
Chapter 12 Information Systems. 2 Chapter Goals Define the role of general information systems Explain how spreadsheets are organized Create spreadsheets.
CORE 2: Information systems and Databases STORAGE & RETRIEVAL 2 : SEARCHING, SELECTING & SORTING.
CPS120: Introduction to Computer Science Information Systems: Database Management Nell Dale John Lewis.
Server-side Scripting Powering the webs favourite services.
2440: 141 Web Site Administration Database Management Using SQL Professor: Enoch E. Damson.
SQL Review Tonga Institute of Higher Education. SQL Introduction SQL (Structured Query Language) a language that allows a developer to work with data.
CPS120: Introduction to Computer Science Lecture 19 Introduction to SQL.
Structure Query Language SQL. Database Terminology Employee ID 3 3 Last name Small First name Tony 5 5 Smith James
Lesson 1: Exploring Access Learning Objectives After studying this lesson, you will be able to: Start Access and identify elements of the application.
Database What is a database? A database is a collection of information that is typically organized so that it can easily be storing, managing and retrieving.
SQL introduction. RHS – SOC 2 Getting data out of databases Databases are ”just” containers of data We could – in principle – just put data in a text.
Databases. What is a database?  A database is used to store data. The word DATA is actually Latin for FACTS. A database is, therefore, a place, or thing.
Component 4: Introduction to Information and Computer Science Unit 6a Databases and SQL.
What have we learned?. What is a database? An organized collection of related data.
1 DBS201: Introduction to Structure Query Language (SQL) Lecture 1.
Database Fundamental & Design by A.Surasit Samaisut Copyrights : All Rights Reserved.
SQL Jan 20,2014. DBMS Stores data as records, tables etc. Accepts data and stores that data for later use Uses query languages for searching, sorting,
Chapter Fourteen Access Databases and SQL Programming with Microsoft Visual Basic th Edition.
Oracle11g: PL/SQL Programming Chapter 3 Handling Data in PL/SQL Blocks.
DAY 21: ACCESS CHAPTER 6 & 7 Tazin Afrin October 31,
IS6146 Databases for Management Information Systems Lecture 1: Introduction to IS6146 Rob Gleasure robgleasure.com.
WEEK# 12 Haifa Abulaiha November 02,
Programming with Microsoft Visual Basic 2012 Chapter 14: Access Databases and SQL.
Databases. What is a Database? A database is an organized collection of information or data. Databases can be paper-based or electronic. Information (text.
 MySQL is a database system used on the web  MySQL is a database system that runs on a server  MySQL is ideal for both small and large applications.
Introduction to Microsoft Access
DBMS and SQL.
Query Methods Simple SQL Statements Start ….
SQL Query Getting to the data ……..
SQL Key Revision Points.
Outline lecture Revise arrays Entering into an array
Query Methods Where Clauses Start ….
Query Methods Where Clauses Start ….
Microsoft Access 2013 Bobby Wan.
Desktop Publishing Lesson 1
records Database Vocabulary It can be useful to collect information.
Accsess 2013 Creating Database.
Microsoft Office Illustrated Fundamentals
Do it now – PAGE 13 You will find your do it now task in your workbook – look for the start button! Thursday, 20 September 2018.
Do it now activity Since the beginning of the term you have planned a database based on your own scenario. Using your plan you are going to create a database,
Do it now – PAGE 8 You will find your do it now task in your workbook – look for the start button! Tuesday, 20 November 2018.
Do it now – PAGE 11 You will find your do it now task in your workbook – look for the start button! Wednesday, 21 November 2018.
Do it now – PAGE 11 You will find your do it now task in your workbook – look for the start button! Friday, 23 November 2018.
Databases.
Databases Lesson 2.
More about Databases.
Log onto a computer first then ….
Exploring Microsoft® Access® 2016 Series Editor Mary Anne Poatsy
Developing a Model-View-Controller Component for Joomla Part 3
Database Design and Development
HTML and CSS eportfolio
Do it now – PAGE 10 You will find your do it now task in your workbook – look for the start button! Tuesday, 15 January 2019.
Introduction To Structured Query Language (SQL)
Introduction to Access
Serving Area Process ACACSO Conference May 10, 2018
Do it now – PAGE 3 You will find your do it now task in your workbook – look for the start button! Tuesday, 09 April 2019.
Queries.
The University of Akron College of Applied Science & Technology Dept
Understanding Browsers
Do it now – PAGE 8 You will find your do it now task in your workbook – look for the start button! Sunday, 19 May 2019.
Do it now – PAGE 7 You will find your do it now task in your workbook – look for the start button! Sunday, 19 May 2019.
Digital footprint.
Do it now – PAGE 8 You will find your do it now task in your workbook – look for the start button! Sunday, 12 May 2019.
Do it now – PAGE 11 You will find your do it now task in your workbook – look for the start button! Monday, 20 May 2019.
Do it now You will find your do it now task in your workbook – look for the start button! Thursday, 23 May 2019.
Do it now – PAGE 3 You will find your do it now task in your workbook – look for the start button! Thursday, 23 May 2019.
Database Management Systems and Enterprise Software
Presentation transcript:

Do it now – PAGE 10 You will find your do it now task in your workbook – look for the start button! Sunday, 28 April 2019

Home learning Due today DUE:

Searching and sorting data

“Investigate how to search and sort data” Learning Objective “Investigate how to search and sort data” You will find differentiated outcomes for this lesson on the front of your workbook. Sunday, 28 April 2019

New learning To search for particular data the select statement is used. An example of a select statement might be: SELECT * FROM Product One of the most significant advantages of sorting information in databases is that SQL provides us with an easy to use syntax to search and sort data. Therefore, we do not need to need to think about how to implement searching and sorting algorithms - SQL is a declarative language, implementation details are handled for us and we are left to focus on declaring what we want to find and how we want it to be organised This statement would return all of the products that are stored. Notice that an asterisk is used as a wildcard to denote that all fields of each product should be returned.

New learning To search for particular data the select statement is used. An example of a select statement might be: SELECT * FROM Product One of the most significant advantages of sorting information in databases is that SQL provides us with an easy to use syntax to search and sort data. Therefore, we do not need to need to think about how to implement searching and sorting algorithms - SQL is a declarative language, implementation details are handled for us and we are left to focus on declaring what we want to find and how we want it to be organised This statement would return all of the products that are stored. Notice that an asterisk is used as a wildcard to denote that all fields of each product should be returned.

Learning Development SELECT * FROM Product WHERE Price > 2.00 all products that have a price higher than 2.00

Independent Task SELECT * FROM Product WHERE Price > 3.25 AND ProductID > 10 all products that have a price higher than 3.25 and a ProductID of more than 10

Independent Task SELECT Name, Price FROM Product WHERE Price > 3.25 AND ProductID > 10 Returns only name and price from products that have a price higher than 3.25 and a ProductID of more than 10

Learning Development Have a go at adapting the SQL statements in the worksheet to query your database. Screenshot your SQL statements and the data they return

Learning Development We can improve select statements by adding an additional clause to sort data in a particular way: SELECT Name, Price FROM Product WHERE Price > ? AND ProductID > ? ORDER BY Name ASC Another important ability of databases is that they can sort data easily. What do you think ASC stands for? What do you think will happen if you switch it for DESC Add the ORDER BY Name ASC line to the end of your SQL statement (see example)

Learning Development Download the movie database file and the movie_worksheet file. Work your way through the worksheet – you may need to use a search engine to help you in places!

Talk Task What act states that data must be kept up to date? What is meant by an update query? Explain a situation where an update query would need to be used? What other queries can be used? Why is using a database more suitable for updating and deleting data than a spreadsheet? Based on what you know explain how a website would update the records of their customers

Name one piece of data that you used to search for data Exit ticket Name one piece of data that you used to search for data R A G