Table: new_table user_number | diff 2 | 0 1 |
range is a mysql keyword. You should "scape" it using ´ :
select t.`range` as [`range`], ...