I want to apply a column level filter like if there is an account of 30 then that value has to be taken. But I do not want it to apply this account filter to the whole table as I have few more columns with the same ask like this.
I want to filter it in the select statement column level not after the from table. Value in the select statement is the required column that is needed with filters on account and month columns.
For Ex. (Select value where account =30 and month = 'jan' as new_value from table)
I do not want (select value from table where account = 30 and month = 'jan')
Please let me know can this be done using any functions in Snowflake?