Fix sql style and add backticks... thanks @Kondou-ger

Ref owncloud/apps#912