Revert "added ahievements to sql"

This reverts commit d4e04f5edf40ced6014a8897b86db1b957b73f2c.
Revert "Revert "added ahievements to sql""

This reverts commit afb97adf4a9a3ada662b15ddebdfef28a35f4a08.
restoring2