You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-- first: over (partition by)select t.*from(select a.*, row number () over (partition by <PARTITION_FIELD>order by<UPDATE_TIME>desc) rw
from a) t wheret.rw=1:
-- second: max by dateselect t1.*from t1 inner join (
SELECTmax (create date) as create date, <MARK FIELD>FROM<SOME_TABLE>group by mark
) t2 on t1. create_date =t2.create_dateandt1.mark=t2.mark
Implementation challenges
No response
The text was updated successfully, but these errors were encountered:
What type of enhancement is this?
Performance
What does the enhancement do?
Implementation challenges
No response
The text was updated successfully, but these errors were encountered: