added streaming table query