added LEFT function in MySQL query