如何通过一个请求从PostgreSQL数据库中id = 12和id = 17的表" table“中获取两条记录?
发布于 2020-10-13 20:35:10
您可以通过使用where in子句来实现此目的:
where id in (12,17);
小提琴:https://www.db-fiddle.com/f/4jyoMCicNSZpjMt4jFYoz5/696
https://stackoverflow.com/questions/64335310
相似问题