← Support SLA & Evidence Handoff My saved work →
Independent practice · SQLite
Find receipts with no ticket
Practice dataset
Your work
Active 0:00 · Paused 0sKeep a handoff you can replay
Check your current answer, then download the output and its report. The report includes the source, answer and each check so you can review what passed and what needs work.
To replay your work, open this task with the same dataset, import your answer and check it again.
Show the reference answer
SELECT DISTINCT e.evidence_id,e.ticket_id FROM evidence e LEFT JOIN tickets t ON t.ticket_id=e.ticket_id WHERE t.ticket_id IS NULL ORDER BY e.evidence_id
An orphan receipt should remain visible as an exception; it cannot be attached to a fabricated ticket.