O'Reilly logo

SQL: Visual QuickStart Guide, Third Edition by Chris Fehily

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 15. SQL Tricks

This chapter describes how to solve common problems with SQL programs that

  • Contain nonobvious or clever combinations of standard SQL elements, or

  • Use nonstandard (DBMS-specific) SQL elements that obviate the need for convoluted solutions in standard SQL

I call these queries tricks, but they’re actually part of the arsenal of any experienced SQL programmer. You can find deeper descriptions of the query techniques used in this chapter in the books listed in the “Advanced SQL Books” sidebar.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required