Answer the question
In order to leave comments, you need to log in
How to make dynamic limit in postgres query?
Good afternoon,
The following request is not processed:
UPDATE m_hotels set firm_id = 2 where id in (select id from m_hotels order by random() limit (count(m_hotels) / 3 ));
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question