O'Reilly logo

Inside Microsoft® SQL Server™ 2005: T-SQL Querying by Dejan Sarka, Lubor Kollar, Itzik Ben-Gan

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

Puzzle Solutions

This section contains solutions to the logic puzzles.

Puzzle 1: Medication Tablets

Cut each of the remaining four tablets in half. Consume one half of each tablet today and take the rest tomorrow.

A while back, I posted this puzzle in a SQL trainers’ forum. I found one of the solutions, posted by Mary Bray from Australia, especially amusing. Mary suggested that you pour yourself a decent glass of Scotch, dissolve all the remaining tablets in it, and drink half the glass today and the other half tomorrow. Then, if you die, at least you die happy.

Puzzle 2: Chocolate Bar

Most people try to run several different scenarios—for example, first cutting on each horizontal line, and then cutting each row vertically. It’s confusing to run the ...

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