JPMorganChase Interview Question

how to code database connection