Uploaded by BRYAN CHANDRA

4. SQL

advertisement
Introduction to
Structured
Query Language
• Data is all around us
• We used to store data on
paper in big filling cabinets
• Eventually, we store them
online in a database
How to pull the
data?
Stands for: Structured Query Language
A language that communicates with databases
Pull, add, edit information to a database
SQL
How does
SQL work?
How does
SQL work?
How to access
the file?
SQL
SQL
SQL
SQL - Select
SQL - Select
SQL - Select
SQL - Select
SQL - Select
Join tables
Join tables
SQL: Insert
SQL: Insert
UPDATE lego_people
SET age=13
WHERE name=‘Joe’
SQL: Insert
SQL: Delete
SQL: Delete
1. SQL is the language that you should learn
regardless of domain
 Knowing how to get data means you can use
more data in your job.
2. The way SQL commands are written varies
slightly
3 things
about SQL
3. SQL is a language that speaks only to relational
databases
Download