On Saturday, January 9, 2021, Alexander Farber <alexander.far...@gmail.com> wrote:
> > BEGIN > FOR _tile IN SELECT * FROM JSONB_ARRAY_ELEMENTS(SELECT tiles FROM > words_moves WHERE mid = in_mid) > > Subqueries must be enclosed in parentheses. The parentheses that are part of the function call do not count. David J.