2
Good guys, I have a bench as described in the image below:
I have some questions:
A) Uma geladeira da marca Brastemp 220 V que custa R$ 700.
B) Três cadeiras de madeira em cores diferentes, cada uma custando R$ 53,40.
Answer: INSERT INTO Produtos (descricao,marca,preco) VALUES ('Geladeira','BrasTemp',700)
INSERT INTO Eletrodomesticos(voltagem) VALUES (220)
But this error appears in question A:
Msg 515, Level 16, State 2, Line 8 Cannot Insert the value NULL into column 'Type', table 'LOJAMIX.dbo.Products'; column does not allow nulls. INSERT fails. The statement has been terminated. Msg 515, Level 16, State 2, Line 9 Cannot Insert the value NULL into column 'Codbarra', table 'LOJAMIX.dbo.Electrodes'; column does not allow nulls. INSERT fails. The statement has been terminated.
How do I fix these mistakes?
Take a look at [tour]. You can accept an answer if it solved your problem. You can vote on every post on the site as well. Did any help you more? You need something to be improved?
– Maniero