1 Answer
- Newest
- Most votes
- Most comments
0
I believe CREATING a VIEW with the latest version and exposing that view to the user would be appropraite.
CREATE OR REPLACE VIEW latest_version_only AS
select * from "datalake"."table1"
where version_no = (SELECT MAX(version_no) FROM "datalake"."table1");
answered a year ago
Relevant content
- Accepted Answerasked 10 hours ago
- AWS OFFICIALUpdated 8 months ago
- AWS OFFICIALUpdated 8 months ago
- AWS OFFICIALUpdated 3 years ago
- AWS OFFICIALUpdated 10 months ago