Umfragen erstellen und verwalten

Sie können dies mit dem Daten-Explorer tun. Ich habe die KI gefragt:
„Ist es möglich, die Ergebnisse jeder einzelnen Umfrage aus verschiedenen Kanälen für Berichterstattungszwecke mithilfe des Daten-Explorers zu exportieren?“ und sie gab diese Abfrage:

SELECT  
    p.topic_id, 
    p.name AS poll_name,
    o.id AS option_id, 
    o.html AS option_text, 
    COUNT(v.id) AS vote_count
FROM polls p
JOIN poll_options o ON p.id = o.poll_id
LEFT JOIN poll_votes v ON o.id = v.poll_option_id
GROUP BY p.topic_id, p.name, o.id, o.html
ORDER BY p.topic_id, p.name, o.id;

Es sieht so aus, als ob es funktionieren könnte?

1 „Gefällt mir“