I have two tables in the database, tableOne and tableTwo. In tableOne there is a column called fieldOne and a column called ID. In tableTwo there is a column called fieldTwo and a column called ID.
I have the value of fieldOne but that is it. I need a single statement that will get the value of ID from the row that fieldOne is in, match the ID with ID in tableTwo and return the value of fieldTwo.
i hope this makes sense, was quite hard to right out properly. I was thinking of using a join but im not really sure how.
Many Thanks
Chris