nervmind, the max aggregate worked, where it wasn't working before. I missed one MAX in the setting and it screwed it all up. Thanks again for all the help!
The Lead_id is directly linked to a specific person.(The primary key on another table) They can elect what geographical interests they have when looking for a new home. For each choice they make, a new record is added to the lead_Interest table.
The interest are located in one column, each...
I'm trying to develop a pivot table where the values from one row are put into separate columns on my output. My problem is not separating the vaules into columns, but rather, re-assmbling them into one record with a distinct key, because each row can have more than one selected value for the...
Im haveing a problem extracting the latest timestamp from a table where the only thing that may differentiate records is the timestamp.
Name result timestamp
gary busey 1 9/1/2010 14:14
gary busey 1 9/2/2010 14:14
Darth Vader 1 9/1/2010 14:14
Darth Vader 1 9/5/2010 14:14
gary busey 2...
I'm trying to insert a key value into the last field in the row (new_lead.)
This is based on data that we have collected over time from clients. I keep having issues getting it to work. I'm not sure how to code it at this point, based on the error
'Error Code : 1248
Every derived table must...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.