SQL for Smarties was hailed as the first book devoted explicitly to the advanced techniques you need to transform yourself into an expert SQL programmer. Now, in this fully updated second edition, SQL mastermind Joe Celko keeps you moving forward, using his entertaining, conversational style to teach you the best solutions to old and new challenges and to convey the way what you need to think if you really want to get the most out of-your SQL programming efforts. Inside, logic- and set-based analyses replace the traditional, procedural approach to problem-solving, helping you make the conceptual leap that separates an SQL guru from the rest of the pack. As you catch on to Celko's approach, you'll devour what he bas to say about sortie of SQL's toughest topics : how aggregate functions really work, the best way to work with NULLs, how and why to fake array structures, and much more. This book gives special emphasis to SQL-92 and product-independent techniques that let you optimize performance or achieve highly specialized behavior, regardless of the RDBMS with which you work. If you serious about SQL, you won't let SQL, for Smarties out of your sight. Presents ail-new war stories that give you insight into real-world SQL programming challenges. Continues to cover SQL-89 but focuses heavily on the SQL-92 standard. Offers still more undocumented tips for working around system deficiencies. Teaches scores of advanced techniques that eau lie used with any product, in an SQL environment. Offers expert advice front a noted SQL authority and award-winning columnist.