Added sql structure