SlideShare a Scribd company logo
CS 0478
SQL
9.1
CS 0478
Candidates should be able to:
Learning Objective
• Read, understand and complete structured query language (SQL)
scripts to query data stored in a single database table
CS 0478
• Define a single-table database from given data
storage requirements
STUDENT
STUDENT-TEACHER
CS 0478
Retrieval of data from a database - the SELECT Statement
The SELECT statement is the simplest of SQL statements and is used to find information
within a database.
A SELECT statement comes in four main parts:
CS 0478
CS 0478
Cross Table Query
When you want to return data from more than one table there are two
ways it can be done. The original method is to use a WHERE statement but
the more modern method is to use a JOIN statement.
For the purposes of the examinations it will not matter which method
pupils use in their answers.
CS 0478
Original Method
CS 0478
The Modern Method

More Related Content

PPSX
PDF
Illustrated Microsoft Office 365 and Access 2016 Intermediate 1st Edition Fri...
PPTX
SQL Optimizer vs Hive
PDF
DP080_Lecture_1 SQL lecture document .pdf
PDF
database System concepts and architecture Ch02.pdf
PDF
smart work and hard work presentation ppt
PDF
prejudice and discrimination seminar presentation
PPTX
Body image and self esteem-Seminar presentation
Illustrated Microsoft Office 365 and Access 2016 Intermediate 1st Edition Fri...
SQL Optimizer vs Hive
DP080_Lecture_1 SQL lecture document .pdf
database System concepts and architecture Ch02.pdf
smart work and hard work presentation ppt
prejudice and discrimination seminar presentation
Body image and self esteem-Seminar presentation

More from Sooraj Rajmohan (7)

PPTX
CAI Examination Lab Instructions 2023-2024
PPT
STRESS-MANAGEMENT presentation for seminars
PPTX
Stressless Presentation for seminars. Example
PDF
Searching.pdf
PDF
Looping Lecture.pdf
PDF
Algorithms-1.pdf
PPTX
13.1 User-defined data types.pptx
CAI Examination Lab Instructions 2023-2024
STRESS-MANAGEMENT presentation for seminars
Stressless Presentation for seminars. Example
Searching.pdf
Looping Lecture.pdf
Algorithms-1.pdf
13.1 User-defined data types.pptx
Ad

Recently uploaded (20)

PPTX
Introduction to Inferential Statistics.pptx
PDF
168300704-gasification-ppt.pdfhghhhsjsjhsuxush
PDF
Votre score augmente si vous choisissez une catégorie et que vous rédigez une...
PPTX
New ISO 27001_2022 standard and the changes
PDF
Business Analytics and business intelligence.pdf
PPTX
Database Infoormation System (DBIS).pptx
PDF
Systems Analysis and Design, 12th Edition by Scott Tilley Test Bank.pdf
PDF
annual-report-2024-2025 original latest.
PDF
OneRead_20250728_1808.pdfhdhddhshahwhwwjjaaja
PPTX
Qualitative Qantitative and Mixed Methods.pptx
PPTX
Leprosy and NLEP programme community medicine
PDF
Microsoft Core Cloud Services powerpoint
DOCX
Factor Analysis Word Document Presentation
PDF
Introduction to Data Science and Data Analysis
PPTX
Copy of 16 Timeline & Flowchart Templates – HubSpot.pptx
PDF
How to run a consulting project- client discovery
PPTX
QUANTUM_COMPUTING_AND_ITS_POTENTIAL_APPLICATIONS[2].pptx
PDF
Capcut Pro Crack For PC Latest Version {Fully Unlocked 2025}
PPTX
Microsoft-Fabric-Unifying-Analytics-for-the-Modern-Enterprise Solution.pptx
PPTX
A Complete Guide to Streamlining Business Processes
Introduction to Inferential Statistics.pptx
168300704-gasification-ppt.pdfhghhhsjsjhsuxush
Votre score augmente si vous choisissez une catégorie et que vous rédigez une...
New ISO 27001_2022 standard and the changes
Business Analytics and business intelligence.pdf
Database Infoormation System (DBIS).pptx
Systems Analysis and Design, 12th Edition by Scott Tilley Test Bank.pdf
annual-report-2024-2025 original latest.
OneRead_20250728_1808.pdfhdhddhshahwhwwjjaaja
Qualitative Qantitative and Mixed Methods.pptx
Leprosy and NLEP programme community medicine
Microsoft Core Cloud Services powerpoint
Factor Analysis Word Document Presentation
Introduction to Data Science and Data Analysis
Copy of 16 Timeline & Flowchart Templates – HubSpot.pptx
How to run a consulting project- client discovery
QUANTUM_COMPUTING_AND_ITS_POTENTIAL_APPLICATIONS[2].pptx
Capcut Pro Crack For PC Latest Version {Fully Unlocked 2025}
Microsoft-Fabric-Unifying-Analytics-for-the-Modern-Enterprise Solution.pptx
A Complete Guide to Streamlining Business Processes
Ad

9.1.2 Structured Query Language-Database

  • 2. CS 0478 Candidates should be able to: Learning Objective • Read, understand and complete structured query language (SQL) scripts to query data stored in a single database table
  • 3. CS 0478 • Define a single-table database from given data storage requirements STUDENT STUDENT-TEACHER
  • 4. CS 0478 Retrieval of data from a database - the SELECT Statement The SELECT statement is the simplest of SQL statements and is used to find information within a database. A SELECT statement comes in four main parts:
  • 6. CS 0478 Cross Table Query When you want to return data from more than one table there are two ways it can be done. The original method is to use a WHERE statement but the more modern method is to use a JOIN statement. For the purposes of the examinations it will not matter which method pupils use in their answers.