select * from targettablename where type='AAA' and stype='BBB' and x='CCC';