Add some notes on db-query