Added sql build tables