0% found this document useful (0 votes)
89 views10 pages

Introduction To SQL (Update) : Jon Flanders

SQL is a programming language used to manipulate sets of data stored in relational databases. It allows users to define and manage database structures, as well as query, insert, update, and manipulate the data. Well-designed databases and tables that follow normalization principles make the data more organized and efficient to query. Database design using normalization controls what questions can be asked of the data later using SQL.

Uploaded by

Enrik
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
89 views10 pages

Introduction To SQL (Update) : Jon Flanders

SQL is a programming language used to manipulate sets of data stored in relational databases. It allows users to define and manage database structures, as well as query, insert, update, and manipulate the data. Well-designed databases and tables that follow normalization principles make the data more organized and efficient to query. Database design using normalization controls what questions can be asked of the data later using SQL.

Uploaded by

Enrik
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 10

Introduction to SQL (Update)

INTRODUCTION

Jon Flanders

@jonflanders www.jonflanders.com
Structured Query Language
(SQL) is a special-purpose
programming language
To manipulate sets of data

SQL’s Purpose Typically from a relational database


ANSI and ISO standards

In this course, I’ll stick to standards-based SQL


A database is …
A container to help organize data
A way to efficiently store and retrieve data
Relational
A way to describe data and the relationships
between data entities.
Table Name: Contacts

First Name Last Name Email

Jon Flanders [email protected]

Fritz Onion null

What are all my contacts that have


a last name that starts with F?
First Name Last Name Email

Jon Flanders [email protected]

Fritz Onion null

First Name Last Name Email1 Email2

Jon Flanders [email protected] [email protected]

Fritz Onion [email protected] null


A Better Solution – Normalization

Key First Name Last Name

1 Jon Flanders

2 Fritz Onion

Key Person Key Email

1 2 [email protected]

2 1 [email protected]

3 1 [email protected]
Database design is
important; it controls the
questions you can ask later.

SQL is the language you use


to ask the questions.
Summary
SQL is a powerful declarative language
that you can grasp by understanding a
few basic concepts

You might also like