In your query, the group by
keys and select
keys are not consistent. Perhaps that is the problem you are asking about:
SELECT ad, soyad, SUM(gunluk_ucret) AS toplam
FROM Kart k INNER JOIN
musteri m
ON k.TCNO = m.TCNO INNER JOIN
ekipman e
ON k.ekipman_id = e.ekipman_id
GROUP BY ad, soyad;
You should qualify all column references in the query. I don't know what tables the columns come from, so I cannot make any suggests there.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…