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
SQL SERVER - Quiz and Video - Introduction to Hierarchical Query using a Recursive CTE

SQL SERVER – Quiz and Video – Introduction to Hierarchical Query using a Recursive CTE

May 8, 2012
Pinal Dave
SQL Puzzle
SQL in Sixty Seconds, SQL Scripts, SQL Server

Learn to write a hierarchical query using a recursive CTE with a short video and a quiz on an employee and manager table. Check your answer.

Read More
SQL SERVER - A Tricky Question and Even Trickier Answer - Index Intersection - Partition Function

SQL SERVER – A Tricky Question and Even Trickier Answer – Index Intersection – Partition Function

May 3, 2012
Pinal Dave
SQL Puzzle
SQL Index, SQL Scripts

Can one table, used once, give 2 join operators in an execution plan? Readers used ranking functions, and my own answer relies on index intersection.

Read More
SQL SERVER - A Puzzle - Illusion - Confusion - April Fools' Day

SQL SERVER – A Puzzle – Illusion – Confusion – April Fools’ Day

April 1, 2012
Pinal Dave
SQL Puzzle
SQL Scripts

A light puzzle for April Fools’ Day: two division queries that look the same in SSMS. Will they return the same result, and why?

Read More
puzzle

SQL SERVER – Solution Part 2 – A Quick Puzzle on SQL JOIN and NULL – SQL Brain Teaser

February 17, 2012
Pinal Dave
SQL Puzzle
SQL Joins, SQL NULL, SQL Scripts, SQL Server

Part 2 of the solution to my puzzle on SQL Join and NULL. Readers still email me answers every day, so here are more of the good ones they sent.

Read More
SQL SERVER - Solution - A Quick Puzzle on JOIN and NULL - SQL Brain Teaser

SQL SERVER – Solution – A Quick Puzzle on JOIN and NULL – SQL Brain Teaser

February 11, 2012
Pinal Dave
SQL Puzzle
SQL Scripts

The solution to my quick puzzle on JOIN and NULL. Many readers said the puzzle had an error; it did not, and here is the answer that works.

Read More
SQL SERVER - A Quick Puzzle on JOIN and NULL - SQL Brain Teaser

SQL SERVER – A Quick Puzzle on JOIN and NULL – SQL Brain Teaser

February 10, 2012
Pinal Dave
SQL Puzzle
SQL Scripts, SQL Server

A relaxing SQL Brain Teaser on INNER JOIN and NULL: set up a sample table, look at the result, and fill in the missing T-SQL that produces it.

Read More
SQL SERVER - INNER JOIN Returning More Records than Exists in Table

SQL SERVER – INNER JOIN Returning More Records than Exists in Table

February 9, 2012
Pinal Dave
SQL Puzzle
SQL Joins, SQL Scripts

Can an INNER JOIN returning more records than exist in a table be right? Jeff thought it was a bug. Our chat shows why it is possible and natural.

Read More
Previous 1 … 11 12 13 14 15 16 17 … 27 Next
  • Books
  • Testimonials
  • Privacy Policy

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