列表列中的不同值选择
这里我使用下面的rest api方法从列表中选择前500行,我想只为(ESI_ProjectSeqNoLookupId)列选择不同的值。请在下面的代码中解释在哪里插入distinct关键字或在ESI_ProjectSeqNoLookupId中选择列的其他方法。
query.RestQuery =getbytitle('RFA')/ Items?$ select = ID,ESI_AFENo,ESI_ProjectSeqNoLookupId& $ top = 500;
我尝试了什么:
在哪里使用distinct关键字我不知道
Here i am selecting top 500 rows from the list using below rest api method, I want to select only distinct values for (ESI_ProjectSeqNoLookupId ) column .Please explain in below code where to insert distinct keyword or someother way to select column in ESI_ProjectSeqNoLookupId.
query.RestQuery = "getbytitle('RFA')/Items?$select=ID,ESI_AFENo,ESI_ProjectSeqNoLookupId&$top=500";
What I have tried:
where to use distinct keyword i dont know
select = ID,ESI_AFENo,ESI_ProjectSeqNoLookupId&
select=ID,ESI_AFENo,ESI_ProjectSeqNoLookupId&
top = 500;
我尝试过:
在哪里使用不同的关键字我不知道
top=500";
What I have tried:
where to use distinct keyword i dont know