Puoi aggiungere AND 's alla tua query chiamando where() più volte:
$select->where('this = ?', 'myValue')
->where('that = ?', 'myValue2');
Questo si tradurrà in:
... WHERE this = 'myValue' AND that = 'myValue2'
Per aggiungere uno o più OR 's alla tua domanda, usa orWhere() :
$select->where('this = ?', 'myValue')
->orWhere('that = ?', 'myValue2');
Questo si tradurrà in:
... WHERE this = 'myValue' OR that = 'myValue2'
Nota
Assicurati di utilizzare il ? sintassi del segnaposto in quanto è un modo semplice per prevenire le iniezioni SQL.