"Python get value from database - Büro Jorge Schmidt", which judging by title and preview seems to be a Python + MySQL tutorial. It returns a 403 error and might be a hacked site, since the home page is for a graphic design studio in Munich.
Result #8 is something similar:
"Intellij flatten packages - Músicos de Viaje". This is definitely a hacked site (from Spain, apparently) that redirects me somewhere else.
Result #10:
"How to calculate tax percentage in sql query". Another hacked site, this time for an evangelical church from Brazil.
Now... how can Google think that any of these sites are relevant? Even if it doesn't realize the pages are hacked... even its crawler has been fed content that included the keywords... :
A - The sites themselves don't match the query at all.
B - No legit site about the subject would link to these sites.
C - The results themselves (title, url, preview), as Google shows them, have nothing to do with the search!