Azure COSMOS DB 在每场比赛中名列前茅

可以对以下查询进行单个查询。

Select top 1* from f
where f.test.id = '1'
order by f.time desc

Select top 1* from f
where f.test.id = '2'
order by f.time desc

因为下面的查询返回组合列表中的前 1 个,但在我的情况下,它应该为每个 id 返回两个响应。任何线索?

Select top 1* from f
where f.test.id in ('1','2')
order by f.time desc
langku 回答:Azure COSMOS DB 在每场比赛中名列前茅

暂时没有好的解决方案,如果你有好的解决方案,请发邮件至:iooj@foxmail.com
本文链接:https://www.f2er.com/67120.html

大家都在问