CREATE SCHEDULED QUERY sc1 
CRON '0 */10 * * * ? *' 
AS INSERT INTO t VALUES (1);

CREATE SCHEDULED QUERY t_analyze 
CRON '0 */1 * * * ? *' 
AS ANALYZE TABLE t
    COMPUTE STATISTICS FOR COLUMNS;

CREATE SCHEDULED QUERY s_day
EVERY 2 DAY OFFSET BY 'offsetTs'
EXECUTED AS 'admin'
ENABLE
DEFINED AS INSERT INTO t VALUES (1);

CREATE SCHEDULED QUERY s_hour
EVERY HOUR AT '0:07:30'
EXECUTED AS 'query_user_1'
DISABLE
DEFINED AS INSERT INTO t VALUES (1);
