select * from products where base='PRODUITS' and categorie='all' AND inactif = false order by refnum1