select columns from right side table in inner join using sequelize
问题 I'm implementing API using Sequelize in node.js. I have three tables i.e. users, projects and userprojects. Here, userprojects table contains foreign key columns i.e. UserId and ProjectId from users and projects table respectively (as shown in picture below) I want to inner join userprojects and projects table so I get final flat result as Project Id (from userproject table) and Project Name (from project table) in a flat format e.g. 7AD60938-60F5-433D-A55B-2F48A9931EFA | Project 01 2582A40C