AT&T interview question

Sql scripts, design, how to handle exceptions etc.