make SQL read field names instead of index