Save a sql query
page fix