SQL Scripts for database

It works in my local. Please try them in your local