Entrata India interview question

They asked me to solve 4-5 SQL queries, what is inheritance, difference between include and require.