SHOW RANGE... FOR ROW statement shows information about a range for a single row in a table or index. This information is useful for verifying how SQL data maps to underlying ranges, and where the replicas for a range are located.
To show information about the ranges for all data in a table, index, or database, use the
SHOW RANGES statement.Syntax
Required privileges
The user must have theSELECT privilege on the target table.
Parameters
Response
The following fields are returned:Examples
Setup
To follow along, runcockroach demo to start a temporary, in-memory cluster with the movr sample dataset preloaded:

