Only select the columns from tbl.
Removed console.loh
Added fix for tbl.*.