fixed typo in added sql