Added comments to SQL code

added comments to the SQL connection.