SQL DB

SQL for generating DB