Is it possible to use select * for only one table when using a join statement?
Let's say these are the following tables;
B
userID
username
A
userID
entry
....just pretend there are more columns for the sake of this example
What is the correct way to look up the username from table B?
select B.username, * from A
LEFT JOIN B on B.userID = A.userID
where A.entry = "XXXXX"
Or do I have to list out everything I want to select such as:
select B.username, A.userID, A.entry from A
left Join.....