đây là truy vấn phức tạp hiện tại được đưa ra dưới đây.MS ACCESS: Làm cách nào tôi có thể tính giá trị khác biệt bằng truy vấn truy cập?
SELECT DISTINCT Evaluation.ETCode, Training.TTitle, Training.Tcomponent, Training.TImpliment_Partner, Training.TVenue, Training.TStartDate, Training.TEndDate, Evaluation.EDate, Answer.QCode, Answer.Answer, Count(Answer.Answer) AS [Count], Questions.SL, Questions.Question
FROM ((Evaluation INNER JOIN Training ON Evaluation.ETCode=Training.TCode) INNER JOIN Answer ON Evaluation.ECode=Answer.ECode) INNER JOIN Questions ON Answer.QCode=Questions.QCode
GROUP BY Evaluation.ETCode, Answer.QCode, Training.TTitle, Training.Tcomponent, Training.TImpliment_Partner, Training.Tvenue, Answer.Answer, Questions.Question, Training.TStartDate, Training.TEndDate, Evaluation.EDate, Questions.SL
ORDER BY Answer.QCode, Answer.Answer;
Có một cột Training.TCode khác. Tôi cần phải tính toán Training.TCode riêng biệt, ai cũng có thể giúp tôi? Nếu bạn cần biết thêm thông tin xin vui lòng cho tôi biết
xin đừng cố gắng sử dụng count (biệt col), vì MS Access không hỗ trợ count (riêng biệt). cảm ơn vì sự hợp tác của bạn. – Sadat