how to read non repeated id from sql file quarry cost sand