c# - 如何在asp.net mvc c#中区分我的表行?
解决方案
If you are using T-SQL try like this in your SQL query (unless you are using Entity Framework)
SELECT DISTINCT
ChatId
SendUserId
...
FROM
YourTable;
This will select rows with distinct combination of all the fields in query.
推荐阅读
- python - 将一个 Pandas DataFrame 的元素放置到另一个 DataFrame 中元素的位置
- r - 我如何在 R 中的 mutate(across...) 上指定新的变异名称
- c# - Puppeteer 查找具有特定内容的 TD 的 TR
- spring-data-jpa - Spring data jpa派生查询方法——countby返回ArrayList而不是Long
- python - 阶乘单元测试函数返回错误的测试运行
- upwork-api - 尝试从 Upwork api 获取数据时出现 CORS 错误
- python - 如何仅将带有数据的数据框附加到熊猫的标题中?
- angular - 错误 TS2322:类型“产品”不可分配给类型“NgIterable”
| 空 |未定义'。 - typescript - 打字稿函数头只有一个参数,但调用需要 3
- reporting-services - SSRS 多个 IF 表达式(SSRS 版本的 SQL CASE)