Added more sql statements