هل تقصد مجموع كل قسم فهذا الاستعلام
PHP كود :
Dim _SQL As String =
" SELECT Employees.Depets, Depet.Depets AS total " & _
" FROM Depet INNER JOIN Employees ON Depet.DepetID = Employees.Depets " & _
" GROUP BY Employees.Depets, Depet.Depets"

