SQL use with i2iTracks extract from HMS