select tax_input(on(d1) TAXRATE(0.2)) from test2 order by 1;
The user defined scalar function is treated as an expression in a SQL query.
select tax_input(on(d1) TAXRATE(0.2)) from test2 order by 1;
The user defined scalar function is treated as an expression in a SQL query.