SQL_function : add math functions.
SQL_function : Modify code generation for constants in function.
SQL_function: support constant_mapping in code generation. const exp is evaluated once in setup.
SQL_func: Make sort and orderpartion use constant mapping.
SQL_func : change MappingSet's name convention, making it an instance variable.