@@ -231,21 +219,32 @@ AND cdli_db_tmp.inscriptions_credits_view3.author_id_3 IS NOT NULL;
## 1.3 update inscriptions
## 1.3.1 Set is_latest"
match fulltrans.wholetext with inscriptions.atf if match, then is_latest =1, then fill other fields (transliteration, transliteration_clean,transliteration_for_search) I had used grouping for this to select the latest date in the group. https://stackoverflow.com/questions/12102200/get-records-with-max-value-for-each-group-of-grouped-sql-results