In The Database Detective, you play as an intrepid SQL analyst who must use their skills to solve a series of mysteries. Each case presents a different set of data that needs to be analyzed to piece together clues and solve the case. Use loops and conditionals to comb through databases, generate re-usable components, and build sophisticated reports that will lead you to the truth.