Questions tagged «aggregate»

14
බහු තීරු අනුව සමූහය
LINQ හි ​​GroupBy බහු තීරු කරන්නේ කෙසේද? SQL හි මෙයට සමාන දෙයක්: SELECT * FROM <TableName> GROUP BY <Column1>,<Column2> මෙය LINQ බවට පරිවර්තනය කරන්නේ කෙසේද: QuantityBreakdown ( MaterialID int, ProductID int, Quantity float ) INSERT INTO @QuantityBreakdown (MaterialID, ProductID, Quantity) SELECT MaterialID, ProductID, SUM(Quantity) FROM @Transactions GROUP BY MaterialID, ProductID
988 c#  .net  linq  group-by  aggregate 
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.