Training materials for a lecture and exercises on using sql in python