短い質問ですが、Postgresql では limit 句はどこに配置されますか? 行数を 10 に制限したいのですが、そうするとエラーが発生します。
From this_table x
join this_table y
on x.no = y.no
where x.no = '7'
Limit 10
group by x.location
order by x.location
「where」またはその近くで構文エラーが発生します
(リクエストがあれば、select ステートメントを追加できます。