EPAM Systems Interview Question

Write the python code to call the DB client and pass query