Change the SQL sentences for avoid problems with SQL keywords - refs BT#8566
Merge pull request #97 from AngelFQC/8566

Fix SQL sentences for avoid problems with SQL keywords - refs BT#8566