Lingue

Tastiera

Recursive CTE

Walk a category tree from the root down.

Difficolta: Avanzato · 11 Righe · Licenza: public-domain

Tempo Rimasto5:00
Punteggio0
Giocatore AutoFluxPulse303
WITH RECURSIVE category_tree AS (
  SELECT id, name, parent_id, 0 AS depth
  FROM categories
  WHERE parent_id IS NULL
  UNION ALL
  SELECT c.id, c.name, c.parent_id, t.depth + 1
  FROM categories AS c
  INNER JOIN category_tree AS t
    ON c.parent_id = t.id
Tempo0:00
Velocita (WPM)0.0
Precisione100.0%
Errori0

Tastiera Live

Prossimo Tasto: W | Ultimo Tasto: -

Progresso: 0.0%
\
1
2
3
4
5
6
7
8
9
0
'
Ì
Q
W
E
R
T
Y
U
I
O
P
È
+
A
S
D
F
G
H
J
K
L
Ò
À
Z
X
C
V
B
N
M
,
.
-
Spazio

Classifica

Nessun risultato.