Skip to main content
  • Book
  • © 2016

Beginning SQL Queries

From Novice to Professional

Apress

Authors:

  • Broad appeal – Developers, web designers, database administrators, even power users working with Microsoft Access need to know something of SQL
  • Clarity – Author's previous book, Beginning Database Design, has established her as someone who writes with exceptional clarity about database topics
  • Succinctness – Beginning Queries with SQL does not waste readers' time. It covers the ground in far fewer pages than do competing books

Buy it now

Buying options

eBook USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Other ways to access

This is a preview of subscription content, log in via an institution to check for access.

Table of contents (14 chapters)

  1. Front Matter

    Pages i-xxii
  2. Relational Database Overview

    • Clare Churcher
    Pages 1-13
  3. Simple Queries on One Table

    • Clare Churcher
    Pages 15-32
  4. A First Look at Joins

    • Clare Churcher
    Pages 33-49
  5. Subqueries

    • Clare Churcher
    Pages 51-66
  6. Self Joins

    • Clare Churcher
    Pages 67-83
  7. Multiple Relationships Between Tables

    • Clare Churcher
    Pages 85-97
  8. Set Operations

    • Clare Churcher
    Pages 99-128
  9. Aggregate Operations

    • Clare Churcher
    Pages 129-146
  10. Window Functions

    • Clare Churcher
    Pages 147-159
  11. Efficiency Considerations

    • Clare Churcher
    Pages 161-173
  12. How to Tackle a Query

    • Clare Churcher
    Pages 175-194
  13. Common Problems

    • Clare Churcher
    Pages 195-210
  14. Example Database

    • Clare Churcher
    Pages 211-212
  15. Relational Notation

    • Clare Churcher
    Pages 213-231
  16. Back Matter

    Pages 233-234

About this book

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 datafrom 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 reportingsoftware 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.



Authors and Affiliations

  • Studio B Productions , Great Neck, USA

    Clare Churcher

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.

Bibliographic Information

Buy it now

Buying options

eBook USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Other ways to access