Hello guys.
My skills with SQL are simple, so i'm not sure how to do this.. Here it goes.
Lets consider this.
Table A
ID Name LastNameID
1 Jonh 23
2 Helen 19
Table B
ID LastName
23 Bauer
19 Summers
.
SELECT ID Name LastNameID FROM TableA
How can i add another Select inside that one that will return the LastName from Table B based on the LastNameID in Table A.
In this case i usually use a simple function with the Programming language that i use to do that for each returned Row.
But i think its time to do that with SQL alone.
Any help is appreciated.