SQL - Stored Procedures and Functions
Consider this SQL code:
What will be the output of the SELECT statement?
CREATE FUNCTION addTax(amount DECIMAL) RETURNS DECIMAL AS $$ BEGIN RETURN amount * 1.1; END; $$ LANGUAGE plpgsql;
SELECT addTax(100);
What will be the output of the SELECT statement?
