RBC interview question

Q: Write a Python script to query from a SQL DB