Cloud Analogy interview question

SQL query like join , primary key update , oops concept with example and code