insert into table from select query in snowflake