MB-6743: Correct sql statement for reading kv table
MB-6743: Correct sql statement for reading kv table

Change-Id: I7dcd102944ecbdb481fbf00b70d20f99c0cd42ce
Reviewed-on: http://review.couchbase.org/21129
Reviewed-by: Steve Yen <ef850f73f7832052d3c6d9b5ddd3a1716d9a57f1@gmail.com>
Tested-by: Bin Cui <ed18693fff32c00e22495f4877a3b901bed09041@gmail.com>

couchbase/couchbase-cli,membase/membase-cli,membase/membase-cli,couchbase/couchbase-cli,membase/membase-cli,couchbaselabs/couchbase-cli,couchbaselabs/couchbase-cli,couchbaselabs/couchbase-cli