Beginning SQL Queries: From Novice to Professional, Second Edition

  • 3h 48m
  • Clare Churcher
  • Apress
  • 2016

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

About the Author

Clare Churcher (B.Sc. (Hons), Ph.D.(physics)) has designed several databases for a variety of large and small projects. She is a currently a Senior Lecturer and Development Manager for Applied IT at Tai Poutini Polytechnic. She spent two years as a Business Analyst for a large international software development company, and prior to that nearly two decades as a senior faculty member of the Applied Computing Group at Lincoln University where her teaching included Analysis and Design, Database, and Programming papers. In 2006 she won a Lincoln University Excellence in Teaching Award. She has supervised over 70 undergraduate projects designing databases for small projects.

In this Book

  • Beginning SQL Queries From Novice to Professional, Second Edition
  • Introduction
  • Relational Database Overview
  • Simple Queries on One Table
  • A First Look at Joins
  • Subqueries
  • Self Joins
  • Multiple Relationships Between Tables
  • Set Operations
  • Aggregate Operations
  • Window Functions
  • Efficiency Considerations
  • How to Tackle a Query
  • Common Problems
  • Example Database
  • Relational Notation