mininews: fix bad sql grammar