Tag

#sql

2 prompts
Design a Database Schema

CREATE TABLE statements with constraints, indexes, and the reasoning behind each choice.

Optimize a Slow Query

Read the execution plan, name the real bottleneck, and get a rewrite plus the exact index to add.