What will happens is that you are just appending more columns to Table T
.
Basically what happens is that Table T
has no relationship to UserTypeTwo
, but it does to vw_user
. Then you need some data from UserTypeTwo
but since Table T
can't join to userTypeTwo
you need a table to connect them both, which is where vw_user
comes in which should have a relation to UserTypeTwo
.
Basically this query is being used because you need columns from Table T
and UserTypeTwo
(and probably vw_User as well) so you need to join all three of them.
Table T
has FK
for vw_User
vw_User
has FK
to UserTypeTwo
UserTypeTwo
has column that you need
(it doesnt necessarily need to be a foreign key but I'm assuming you know this since you have join knowledge).
I hope I was able to clarify what is happening.