Is there any way in which you can directly edit the resulting SQL query that will retirieve the records?