Aggregate Intelligence interview question

Basic questions About python , database