allow random() and arithmetic operators in where clause and order by