1. Relational Database Overview -- 2. Simple Queries on One Table -- 3. A First Look at Joins -- 4. Nested Queries -- 5. Self Joins -- 6. Multiple Relationships Between Tables -- 7. Set Operations -- 8. Aggregate Operations -- 9. Window Function -- 10. Efficiency Considerations -- 11. Approaching A Query -- 12. Common Problems -- Chapter 13: Appendix 1: Sample Database -- Chapter 14: Appendix 2: Relational Notation
0
SUMMARY OR ABSTRACT
Text of Note
Get started on mastering the one language binding the entire database industry. That language is SQL, and how it works is must-have knowledge for anyone involved with relational databases, and surprisingly also for anyone involved with NoSQL databases. SQL is universally used in querying and reporting on large data sets in order to generate knowledge to drive business decisions. Good knowledge of SQL is crucial to anyone working with databases, because it is with SQL that you retrieve data, manipulate data, and generate business results. Every relational database supports SQL for its expressiveness in writing queries underlying reports and business intelligence dashboards. Knowing how to write good queries is the foundation for all work done in SQL, and it is a foundation that Clare Churcher's book, Beginning SQL Queries, 2nd Edition, lays well. Write simple queries to extract data from a single table Combine data from many tables into one business result using set operations Translate natural language questions into database queries providing meaningful information to the business Avoid errors associated with duplicated and null values Summarize data with amazing ease using the newly-added feature of window functions Tackle tricky queries with confidence that you are generating correct results Investigate and understand the effects of indexes on the efficiency of queries