Working Extract of SQL with Fieldsnames from DB