IBM interview question

Coding asssessment: one python array question and one sql question