Add support for Reiya SQL query