fix the command line client so we can query tables with no indexes(we can only use select * of course)