I don't understand the use of triple quotes in all the queries. Isn't that only necessary if you were to do a multi-line query? I would also suggest they use the `.format()` style.