changed a sql-question