Book description
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.
What You Will Learn
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
Who This Book Is For
Beginning SQL Queries, 2nd Edition is aimed at intelligent laypeople who need to extract information from a database, and at developers and other IT professionals who are new to SQL. The book is especially useful for business intelligence analysts who must ask more complex questions of their database than their GUI—based reporting software supports. Such people might be business owners wanting to target specific customers, scientists and students needing to extract subsets of their research data, or end users wanting to make the best use of databases for their clubs and societies.
Table of contents
- Cover
- Frontmatter
- 1. Relational Database Overview
- 2. Simple Queries on One Table
- 3. A First Look at Joins
- 4. Subqueries
- 5. Self Joins
- 6. Multiple Relationships Between Tables
- 7. Set Operations
- 8. Aggregate Operations
- 9. Window Functions
- 10. Efficiency Considerations
- 11. How to Tackle a Query
- 12. Common Problems
- 1. Example Database
- 2. Relational Notation
- Backmatter
Product information
- Title: Beginning SQL Queries: From Novice to Professional, Second Edition
- Author(s):
- Release date: July 2016
- Publisher(s): Apress
- ISBN: 9781484219553
You might also like
book
Getting Started with SQL
Businesses are gathering data today at exponential rates and yet few people know how to access …
book
Learn SQL Database Programming
Learn everything you need to know to build efficient SQL queries using this easy-to-follow beginner's guide …
book
SQL Primer: An Accelerated Introduction to SQL Basics
Build a core level of competency in SQL so you can recognize the parts of queries …
book
Beginning Database Design: From Novice to Professional, Second Edition
Beginning Database Design, Second Edition provides short, easy-to-read explanations of how to get database design right …