I have 3 table,
table: "db.Users"
has columns: UserId, FirstName, Lastname, Email
table: "db.Roles"
has columns: RolesId, RoleName
Table: "db.UserRoles"
Has columns: UserId, RolesId
And I would like to Insert the information from the top
3 tables into a new existing table named
Table: "db.UsersWithRoles"
with 5 columns: UserId, FirstName, Lastname, Email, RoleName
I have tried to use Inner join but it is not really what i was looking for
because i want to add it to an existing table so i can read it with C# mvc and post it on my website
I am not really sure how I am able to achive this.

Jignesh KumarRank #91 · 22.9K reputationPosted Mar 28, 2021, 5:10 AM EDT
osyris zosarRank #6,574 · 262 reputationPosted Mar 28, 2021, 7:48 PM EDT
Jignesh KumarRank #91 · 22.9K reputationPosted Mar 29, 2021, 12:20 AM EDT
satheesh d190 reputationPosted Oct 28, 2021, 7:15 AM EDT