2. Hello!
I am Erik Tank
You can find me at @erik_tank
You can this talk at: https://github.com/skeletonkey/SQL_Intro
3. What is SQL?
• Structured Query Language
• ANSI (American National Standard Inst) standard*
• Allows for interactions with databases
• RDBMS (Relational DB Management System)
• MySQL, ProstgreSQL, et.al
4. 1970
“A Relational Model of Data for Large Shared Data Banks”
- Edgar Frank Codd
1970s
* SQL first developed (Raymond Boyce, Donald Chamberlin)
* Released to the public
1986
1st ANSI released
Sources: https://www.businessnewsdaily.com/5804-what-is-sql.html
SQL Primer by Rahul Batra (ISBN: 978-1-4842-3575-1)
19. Conditionals
• track_number = 1 or track_number = 2
• track_number in (1,2)
• track_number between 1 and 2
• name like ‘%week%’
• name ilike ‘%WEEK%’ *
28. Do’s and DON’Ts
• Table names should be singular
• ID fields are just ‘id’
• Columns name should NOT be reserved words
• ‘id’ field is ONLY for the DB
• UUID field is ONLY for the user
29. Questions?
You can find me at @erik_tank
You can this talk at:
https://github.com/skeletonkey/SQL_Intro
30. Questions?
You can find me at @erik_tank
You can this talk at:
https://github.com/skeletonkey/SQL_Intro
31. Questions?
You can find me at @erik_tank
You can this talk at:
https://github.com/skeletonkey/SQL_Intro