Hi,
Apologies if this has been covered before! I need to query some data from a SQL Server 200 database from 3 tables, with data from the 3rd table being selected on a date field.
Table structure is something like this:
Table_a
Property_ID
Company Name
Table_b
Property_ID
Property_Address1
Property_Address2
Property_Address3
Table_c
Property_ID
Property_Value
Value_Date
I need all data from Table_a & Table_b & just the latest data from Table_c based on the Value_Date field. The 3 tables are linked by Property_Id. I'm sure this is simple enough, but my brain is not functioning correctly today!
Many Thanks
Mark
Apologies if this has been covered before! I need to query some data from a SQL Server 200 database from 3 tables, with data from the 3rd table being selected on a date field.
Table structure is something like this:
Table_a
Property_ID
Company Name
Table_b
Property_ID
Property_Address1
Property_Address2
Property_Address3
Table_c
Property_ID
Property_Value
Value_Date
I need all data from Table_a & Table_b & just the latest data from Table_c based on the Value_Date field. The 3 tables are linked by Property_Id. I'm sure this is simple enough, but my brain is not functioning correctly today!
Many Thanks
Mark