add remove split language show hidden hide
db<>fiddle
donate feedback about
By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
version
PostgreSQL 16.6 (Debian 16.6-1.pgdg120+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 12.2.0-14) 12.2.0, 64-bit
SELECT 1
CREATE TABLE
INSERT 0 7
star_type
1
2
3
0
4
5
6
SELECT 7
ALTER TABLE
star_type star_name
1 null
2 null
3 null
0 null
4 null
5 null
6 null
SELECT 7
INSERT 0 7
star_type star_name
1 null
2 null
3 null
0 null
4 null
5 null
6 null
null Red_Dwarf
null White_Dwarf
null Main_Sequence
null Brown
null Supergiant
null Hellagiant
null Basic
SELECT 14
DELETE 7
star_type star_name
1 null
2 null
3 null
0 null
4 null
5 null
6 null
SELECT 7
UPDATE 7
star_type star_name
1 Red_Dwarf
2 White_Dwarf
3 Main_Sequence
0 Brown
4 Supergiant
5 Hellagiant
6 Basic
SELECT 7