Untitled

mail@pastecode.io avatar
unknown
plain_text
a year ago
149 B
3
Indexable
Never
SELECT DISTINCT t1.venue_id
FROM tempate_info t1
LEFT JOIN tempate_info t2 ON t1.venue_id = t2.venue_id AND t2.default = 1
WHERE t2.venue_id IS NULL;