For Model A and B with certain association, the following query create an INNER JOIN
A
B
INNER JOIN
A.findAll({include:[{model:B}]})