1do $$
2declare
3 counter integer := 1;
4 first_name varchar(50) := 'John';
5 last_name varchar(50) := 'Doe';
6 payment numeric(11,2) := 20.5;
7begin
8 raise notice '% % % has been paid % USD',
9 counter,
10 first_name,
11 last_name,
12 payment;
13end $$;