Added SQL names quoting again for last statement with join