This month's discount Comprehensive Database Performance Health Check · Testimonials
SQLAuthority with Pinal Dave
Home
  • Consulting
    • Health Check
  • Free Videos
  • All Articles
    • AI
    • SQL Performance
    • SQL Tips and Tricks
    • Interview Questions and Answers
    • SQL Puzzle
    • SQL Video
    • SQLAuthority News
    • Personal
  • Books
  • Consulting
strange results

SQL Puzzle – IN and IS NOT NULL – Strange Results

June 17, 2020
Pinal Dave
SQL Puzzle
SQL NULL, SQL Scripts, SQL Server

Today, let us see a very simple puzzle where we are getting strange results when using NOT IN and IS NULL in a T-SQL query.

Read More
table creation

SQL Puzzle – Schema and Table Creation – Answer Without Running Code

October 15, 2019
Pinal Dave
SQL Puzzle
Schema, SQL Scripts, SQL Server, SQL Table Operation

It has been a while we have a puzzle on this blog. Let us have a very simple and interesting puzzle today about Schema and Table Creation.

Read More
qualified

Winners and Solution – DELETE Qualified Rows From Multiple Tables

July 29, 2019
Pinal Dave
SQL Puzzle
SQL Scripts, SQL Server

As the price of this class high, I wanted to keep my contest difficult as well. Today we will see the winners and solutions.

Read More
backslash

SQL SERVER – SQL Agent Job and Backslash – Strange Behavior

July 18, 2019
Pinal Dave
SQL Puzzle
SQL Scripts, SQL Server, SQL Server Agent, SQL Stored Procedure

Today’s blog post is about SQL Agent Job and Backslash. I was surprised to see this behavior. Here are the steps to reproduce this behavior.

Read More
qualified

SQL Puzzle – DELETE Qualified Rows From Multiple Tables

July 13, 2019
Pinal Dave
SQL Puzzle
SQL Performance, SQL Scripts, SQL Server

Today we are going to see a very simple but brain teaser puzzle. This puzzle is about Deleting Qualified Rows From Multiple Tables.

Read More
A missing piece in a jigsaw puzzle.

SQL Puzzle – Correct the Incorrect Query – Win Price Worth USD 1000 – Aggregate and Subquery

April 17, 2019
Pinal Dave
SQL Puzzle
Contest, SQL Scripts, SQL Server

A reader asked me to correct his query, and now it is your turn. Fix this Aggregate and Subquery puzzle on AdventureWorks for a chance to win a prize worth USD 1000.

Read More
SQL Server query with expected results.

SQL SERVER – Relating Unrelated Tables – A Question from Reader

December 10, 2018
Pinal Dave
SQL Puzzle
SQL Scripts, SQL Server

A reader asked how to relate two unrelated tables, Table_A and Table_B, and show them in one output. Here is my answer to this unusual question.

Read More
Previous 1 2 3 4 5 … 27 Next
  • Books
  • Testimonials
  • Privacy Policy

© 2006 – 2026 All rights reserved. pinal @ SQLAuthority.com