logo

Crowdly

Browser

Add to Chrome

create table notaFiscal ( idNF int primary key auto_increment, dtNF date, ...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

create table notaFiscal (

idNF int primary key auto_increment,

dtNF date,

valorNF float);

insert into notaFiscal (dtNF, valorNF) values ('2025-02-10', 135.29);

select * from notaFiscal;

De acordo com o script acima, é correto o que se afirma em:

I - O comando insert into dará erro, pois faltou o campo idNF;

II - O comando create table dará erro;

III - alter table notaFiscal add column desconto float;

O comando vai adicionar uma coluna chamada desconto e inserir números decimais de até 15 caracteres;

IV - alter table notaFiscal modify column valorNF decimal(4,1);

O comando não dará erro, porém o dado 135.29 irá atualizar para 135.3;

0%
100%
0%
0%
0%
More questions like this

Want instant access to all verified answers on moodle.sptech.school?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome