fix syntax error in SQL query (gamepedias)

Bug: 60472
Change-Id: Ie27ed38496981662bc3eedf673c43e3db85420f5