created sql for database of project