This marks the first time I ask a question on stack overflow, and probably the 5000th time i've visited the site. So first off, thanks for all your hard work!
So I have a basic select query on a single table that returns two rows of similar data and are linked via a shared PK.
I want to retrieve all fields from the first row, and only one of the columns from the second under an alias.
Basically flattening the two records into one but only using one of the columns from the second row.
OK Here is a screenshot.
http://www.flickr.com/photos/imagevault/8581053528/
Looking at the first results window I want the Second "Comp" value to show up as an additional column on the first row as a "RentalComp". IF there is only one row returned for a given propertyid then it can just be null.
Thanks!
.. I'm at a loss of what to google for so here i am.