SQL script

Reworked data