特定のグループによって開催されたイベントに参加した人の総数を特定しようとしています。合計イベント出席者の計算
参加者の総数、参加可能な最大出席者、イベントのタイトル、イベントの日付、イベントの連絡先を表示したいとします。私は次のクエリをさまざまな方法で試しましたが、MS Access 2007で「paramenter値の入力」ダイアログボックスを表示し続けます。変更する必要があるのは何ですか?
SELECT sum(eventAttendance.attended) AS attendanceTotal, events.max, events.title, events.date, events.eventContact, events.unit
FROM (client INNER JOIN eventAttendance ON client.clientID=eventAttendance.clientID) INNER JOIN events ON eventAttendance.ID=events.id
WHERE events.unit='CTL'and eventAttendance.attended = 'yes'
GROUP BY attendanceTotal, events.max, events.title, events.date, events.eventContact, events.unit;
ありがとうございます。
このセクションでは、 'および'の前にスペースが必要です。 'events.unit = 'CTL'and' – HansUp
パラメータボックスは何を求めていますか? 「出席総数」?または「CTL」と「? – HansUp
@ HansUp:出席者の合計金額を入力します。 – aparker81