Pluralsight blog Where devs, IT admins & creative pros go for news, tips, videos and more.
Pluralsight + Digital-Tutors - 3,000 tech & creative courses - starting at $29/month Get it now →
March 19, 2012

Video: Not All Queries Are Created Equal – Using Having and Where Clauses in SQL Server


Want to learn how a slight change to two very similar queries can result in syntax errors in SQL Server?  In this video excerpt from Pinal Dave and Vinod Kumar’s course SQL Server Questions and Answers you’ll find out, along with gaining some valuable insight into how SQL Server aggregate functions work with the Having and Where clauses.  In the full course Pinal and Vinod unravel other SQL Server misconceptions regarding topics like locks and transactions, unique indexes and null, and datetime types.


Pinal Dave is a Microsoft Technology Evangelist (Database and BI). He has written over 2000 articles on the subject on his blog at He is the co-author of three SQL Server books – SQL Server Programming, SQL Wait Stats and SQL Server Interview Questions and Answers. Vinod Kumar has worked with SQL Server extensively since joining the industry over a decade ago. Before joining Microsoft, he was a Microsoft MVP for SQL Server for more than 3 years. He is a well-known speaker at all major Microsoft and third party technical conferences.

If you’d like to discover the misconceptions you may have about SQL Server, this course is for you.  In the comment links let us know what common misconceptions you’ve found and how you have proven them wrong.

You can watch the full HD version of this video along with the other 2 hrs 40 min of video found in this professional course by subscribing to Pluralsight. Visit SQL Server Questions and Answers to view the full course outline. Pluralsight subscribers also benefit from cool features like mobile appsfull library searchprogress trackingexercise filesassessments, and offline viewing. Happy learning!

About the Author

is a Chief Architect specializing in large scale distributed system development and enterprise software processes. Paul has more than twenty years of development experience including being a former Microsoft MVP, a speaker at technical conferences such as Microsoft Tech-Ed and VSLive, and a published author. Prior to working on the Windows platform, he built software using a vast array of technologies including Java, Unix, C, and even OS/2.