RETURN StatementsIn openGauss, data can be returned in either of the following ways: RETURN, RETURN NEXT, or RETURN QUERY. RETURN NEXT and RETURN QUERY are used only for functions and cannot be used for stored procedures.RETURNRETURN NEXT and RETURN QUERY