I have to hand code a query, i have called it Rain_Data.
This is the main part of the query.
SELECT DATEVALUE(Time), Seconds, (Select TOP 1 Seconds FROM tblImportTableTest) / 3600 as hourFrac,
CDEC(testa, 7) as A, CDEC(testb, 7) as B, CDEC(testc, 7) as C, CDEC(testd, 7) as D,
CDEC(teste, 7) as...