JPMorganChase interview question

how to code database connection