Most likely empcode isn't an existing column, are you sure the column isn't emp_code or something? I presume it's failing on the second line.