SQL function
A SQL function is a named query. Its body can use the parameter names. Mark it IMMUTABLE when the same input always gives the same output.
task
Write net(cents int, pct numeric) returning cents after adding pct percent tax, rounded, as int.