Say I have these two tables:
User
===============
UserID
Username
Job
UserInfo
===============
UserID
UserInfo1
UserInfo2
are the following two sql statements the same (on Oracle 11g)?
SELECT * FROM User, UserInfo
WHERE UserInfo.UserID = User.UserID
and
SELECT * FROM User
INNER JOIN UserInfo ON UserInfo.UserID = User.UserID
Please explain/elaborate on the FROM [table list] syntax. I do not understand what's going on there... If there are multiple UserInfos, will it return all of them? or just the first one that matches for each User? what about if the User doesnt have any UserInfo, will they be omitted from the results?