Testing new sql query.