Loading the database engine…
This is a real database running in your browser. Type a query and press Run (or Ctrl+Enter).
SELECT * FROM pets; — show everything in a tableSELECT name, age FROM pets WHERE animal = 'Cat'; — pick columns and filterSELECT * FROM pets ORDER BY age DESC; — sortSELECT * FROM pets WHERE name LIKE 'B%'; — names starting with BSELECT animal, COUNT(*) FROM pets GROUP BY animal; — count each kindSELECT.INSERT and UPDATE — press Reset data to start fresh.