
Comandos SQL - ALTER TABLE e MAIS
Quiz
•
Other
•
3rd Grade
•
Practice Problem
•
Easy
ARTUR SCOLARI
Used 2+ times
FREE Resource
Enhance your content in a minute
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
O que significa a sigla SQL?
Sistema de Qualidade de Linguagem
Sistema de Query Local
Structured Query Language
Sistema de Questões Lógicas
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Qual comando é utilizado para criar uma tabela no banco de dados?
CREATE TABLE
MAKE TABLE
NEW TABLE
INSERT TABLE
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Na tabela pedidos, o que significa a linha FOREIGN KEY (cliente_id) REFERENCES clientes(id)?
Cria uma chave primária.
Faz o cliente ser deletado automaticamente.
Cria uma chave estrangeira que conecta pedidos aos clientes.
Cria uma coluna chamada cliente_id.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Qual comando é utilizado para inserir novos dados em uma tabela?
ADD DATA
INSERT INTO
INPUT VALUES
ADD ROW
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Qual comando foi usado no script para adicionar uma nova coluna chamada telefone na tabela clientes?
INSERT COLUMN telefone
ALTER TABLE clientes ADD telefone CHAR(11);
UPDATE clientes ADD telefone
NEW COLUMN telefone IN clientes
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
O comando abaixo serve para quê?
ALTER TABLE produtos RENAME COLUMN nome TO nome_poduto;
Deletar a coluna nome.
Duplicar a coluna nome.
Renomear a coluna nome para nome_poduto.
Mover a coluna nome para outra tabela.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Quando foi necessário remover a tabela itens (antes chamada de produtos), por que primeiro precisou remover a tabela pedidos?
Porque a tabela itens não tinha dados.
Porque o banco estava cheio.
Porque a tabela pedidos tinha chave estrangeira que dependia de itens.
Porque o comando DROP não funciona direto.
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
20 questions
FUNDAMENTOS DE DISEÑO Y FIGURAS RETORICAS
Quiz
•
1st - 5th Grade
17 questions
003. Intro Animación Turística
Quiz
•
1st - 3rd Grade
16 questions
Inv de mercados 1P
Quiz
•
1st - 3rd Grade
16 questions
EVENTO GRUPO 4PLUS - 2022
Quiz
•
1st - 3rd Grade
15 questions
Presentacion de Propuesta
Quiz
•
1st - 5th Grade
20 questions
Eventos y Banquetes
Quiz
•
1st - 5th Grade
15 questions
3 SIP - Repaso 01
Quiz
•
3rd Grade
25 questions
Tema 8
Quiz
•
1st - 5th Grade
Popular Resources on Wayground
8 questions
2 Step Word Problems
Quiz
•
KG - University
20 questions
Comparing Fractions
Quiz
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Latin Bases claus(clois,clos, clud, clus) and ped
Quiz
•
6th - 8th Grade
22 questions
fractions
Quiz
•
3rd Grade
7 questions
The Story of Books
Quiz
•
6th - 8th Grade
Discover more resources for Other
8 questions
2 Step Word Problems
Quiz
•
KG - University
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
22 questions
fractions
Quiz
•
3rd Grade
5 questions
Drama
Quiz
•
3rd - 4th Grade
20 questions
Identify Fractions
Quiz
•
3rd Grade
10 questions
Martin Luther King, Jr. For Kids
Interactive video
•
1st - 12th Grade
10 questions
Area
Quiz
•
3rd Grade
