No matches were found for subject:"\[sqlite\] Need advice on using nested selects in JOIN statements as a logical 'AND'"