clear markdown compare help best fiddles feedback
clear markdown feedback
By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0. 3601504 fiddles created (47963 in the last week).

CREATE TABLE people ( height_cm numeric, height_in numeric GENERATED ALWAYS AS (height_cm * 2.54) STORED );
 hidden batch(es)

INSERT INTO people(height_cm) VALUES(70),(80)
2 rows affected
 hidden batch(es)

SELECT * FROM people
height_cm height_in
70 177.80
80 203.20
 hidden batch(es)