SQL Playground

This playground gives you an interactive SQL shell to a single-node CockroachDB cluster running v21.1. The cluster is pre-loaded with a sample dataset, configured for CockroachDB's spatial functionality, and set up with a DB Console user.

  • To access the DB Console, click the DB Console tab and then login with the username max and the password roach.
  • For docs on our SQL dialect, see SQL Reference.
  • For a more guided experience, see Learn CockroachDB SQL.

Interactive tutorials

YesYes NoNo