clear markdown help best fiddles feedback dbanow.uk
clear markdown donate comments/suggestions/bugs a leap of faith? bible365 diddy dollings
By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0. 2555522 fiddles created (37443 in the last week).

CREATE OR REPLACE FUNCTION f_test() RETURNS SETOF int AS $func$ BEGIN RETURN QUERY SELECT 1; RETURN QUERY SELECT 2; END $func$ LANGUAGE plpgsql;
 hidden batch(es)


SELECT * FROM f_test();
f_test
1
2
f_test
1
2
 hidden batch(es)