Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
SELECT house_id, MAX(date_of_price) AS "RecentDate"
FROM tblAssetvalue
GROUP BY house_id
SELECT a.house_id, MAX(a.date_of_price) AS "PriorDate"
FROM tblAssetvalue a
JOIN HouseLatestDate b ON b.house_id = a.house_id
WHERE a.date_of_price < b.RecentDate
GROUP BY a.house_id
SELECT a.house_id,
MAX(a.date_of_price) AS "PriorDate",
MAX(b.RecentDate) AS "LatestDate"
FROM tblAssetvalue a
JOIN HouseLatestDate b ON b.house_id = a.house_id
WHERE a.date_of_price <
GROUP BY a.house_id