I am trying to lookup data from 2 tables in mysql using python. This is what I have thus far, but it is giving the error "No result set to fetch from." I think because