set (min, max)=(40, 70);
select $min;
select avg(salary) from emp where age between $min and $max;
https://docs.snowflake.com/en/sql-reference/session-variables.html#:~:text=Using%20Variables%20in%20SQL,-Variables%20can%20be&text=To%20distinguish%20them%20from%20bind,be%20prefixed%20with%20a%20%24%20sign.&text=Because%20the%20%24%20sign%20is%20the,character%20when%20used%20in%20identifiers.
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
_yyukta
8 months, 2 weeks agoMultiCloudIronMan
1 year, 3 months agoMadhavan71
1 year, 10 months agoSV1122
1 year, 10 months agoRob__C
1 year, 11 months agohalol
1 year, 11 months ago