the following does not work for me, and i can't figure out why. any ideas?
delete quiz,result,category,question,user_comments from quiz as q, result as
r, category as c, question as qs, user_comments as u where q.time<1110256723
and q.no_hits=0 and q.quiz_id=r.quiz_id and q.quiz_id=c.quiz_id and
q.quiz_id=qs.quiz_id and q.quiz_id=u.quiz_id