/* INSERT INTO astro_type (id, name) VALUES (1,'Estrela') ,(2,'Planeta') ,(3,'Satélite Natural') ; */ INSERT INTO astro ( id, name, type_id, equatorial_radius, rotation_velocity, around_astro_id, periapsis, apoapsis, image ) VALUES (1, 'Sol', 1, 696300, 1997, null, 0, 0, 'sun_small.jpg'), (2, 'Mercúrio', 2, 2439.7, 47.362, 1, 57909050, 46001200, 'mercurio_small.jpg'), (3, 'Vénus', 2, 6051.80, 35.02, 1, 107476000, 108942000, 'Venus_small-jBl5UbjV.jpg'), (4, 'Terra', 2, 6378.10, 29.78, 1, 147098290, 152098232, 'earth_small.jpg'), (5, 'Lua', 3, 1737.40, 1.022, 4, 363104, 405696, 'moon_small.jpg'), ; /* COMMANDS: -- SELECT id,name,type_id,equatorial_radius,rotation_velocity,around_astro_id,periapsis,apoapsis,image FROM astro; -- UPDATE astro SET type_id=2, periapsis=57909050, apoapsis=46001200,image='mercurio_small.jpg' WHERE id=2; */