add batch remove batch split batch show hidden batches hide batch
db<>fiddle
feedback about
By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
version
PostgreSQL 10.12 on x86_64-pc-linux-gnu, compiled by gcc (GCC) 8.3.1 20190507 (Red Hat 8.3.1-4), 64-bit
1 rows affected
1 rows affected
1 rows affected
1 rows affected
1 rows affected
1 rows affected
1 rows affected
1 rows affected
1 rows affected
1 rows affected
1 rows affected
1 rows affected
1 rows affected
1 rows affected
id parent_code descr
1 null Volkswagen
2 null Tesla
3 1 Polo
4 1 Golf
5 2 3
6 2 S
7 2 X
8 3 diesel
9 3 gasoline
10 4 diesel
11 4 gasoline
12 5 electric
13 6 electric
14 7 electric
descr
Volkswagen
  ->Polo
      ->diesel
      ->gasoline
  ->Golf
      ->diesel
      ->gasoline
Tesla
  ->3
      ->electric
  ->S
      ->electric
  ->X
      ->electric