Script sql final