create table valor_nutricional (
cod_nutriente int primary key,
nome_nutriente varchar (100),
porcao_100 float,
porcao_25 float,
valor_diario float )
;

insert into valor_nutricional (cod_nutriente, nome_nutriente, porcao_100, porcao_25, valor_diario)
values
(1, 'Calorias', 2000, 500, 25),
(2, 'Gorduras totais', 65, 16.25, 25),
(3, 'Gordura saturada', 20, 5, 25),
(4, 'Carboidratos totais', 300, 75, 25),
(5, 'Sódio', 2000, 500, 25),
(6, 'Colesterol', 300, 75, 25),
(7, 'Fibra dietética', 25, 6.25, 25),
(8, 'Açúcares adicionados', 50, 12.5, 25),
(9, 'Proteínas', 50, 12.5, 25),
(10, 'Vitamina A', 800, 200, 25),
(11, 'Vitamina C', 100, 25, 25),
(12, 'Cálcio', 1000, 250, 25),
(13, 'Ferro', 14, 3.5, 25);

select * frow valor_nutricional where porcao_100 between 50 and 300 ORDER BY cod_nutriente desc;

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: