last hw - still not working

However, I know the SQL query is good (works in sqlitebrowser).
So, it's something about the method I'm using. Have to figure out what that is.