I have 2 tables with a few columns:
parent (id, name, a)
child (id, parent_id, name)
I cannot manage to find the proper SQL query to delete all parents that have no children and a<10. This is for SQLite shipped with Android 2.1. Anybody could help?
1 Answer