Skip to content
Typing Summit

SQL typing practice

Type real SQL: joins and grouping, a window function and a CREATE TABLE statement. SQL is mostly uppercase keywords, commas and quotes, which trains the Shift key and caps habits.

3 snippets · key symbols: ( ) , ' ; * = >=

Join and group · SQL
Press Enter at the end of each line. Indentation is filled in for you.
SELECT c.name, COUNT(o.id) AS orders, SUM(o.total) AS revenue↵FROM customers c↵JOIN orders o ON o.customer_id = c.id↵WHERE o.created_at >= '2026-01-01'↵GROUP BY c.name↵ORDER BY revenue DESC;
Guide

How to type SQL faster

SQL has its own set of symbols and patterns. Typing them in real code, with Enter and auto-indent like your editor, builds speed where it matters.

  1. 01

    Uppercase keywords

    SELECT, FROM, JOIN and GROUP BY are usually written in capitals. Use Shift with the opposite pinky, or practise typing them fluently with Caps Lock.
  2. 02

    Commas and aliases

    Long column lists are separated by commas, and aliases like c.name use dots. Accuracy here saves you from the most common query errors.
  3. 03

    Quotes and comparisons

    String literals in single quotes and operators like >= and <> are typed constantly in WHERE clauses.

Questions people ask

2 answers

Should SQL keywords be uppercase?

+

It is a common style, not a rule. Most databases accept lowercase. The practice uses uppercase because that is how most teams write it.

Is SQL typing practice good for data analysts?

+

Yes. Analysts type queries all day, so faster, more accurate typing saves real time.