how do i select all records matching following criteria:
take all records with meeting_id = x AND it's parent is available OR doesn't have parent but don't care if available itself ?
table people:
id, name, address, meeting_id, available, parent_id