Tried implementing SQL

Implemented some SQL into app however it wont connect