finished notes on timetrack sql portion