Escolar Documentos
Profissional Documentos
Cultura Documentos
select *
from departamento;
select table_name
from user_tables;
select *
from departamento;
desc departamento;
select *
from departamento;
--Teste 2
select table_name
from user_tables;
--teste3
select *
from departamento;
--teste 4
-- Teste 5
select *
from departamento;
select *
from departamento;
-- Teste 6
--Qual a diferen�a destes dos testes 5 e 6? Porque o insert acima n�o funcionou?
-- Teste 7
-- Teste 8
-- Teste 9
@<caminho>\nome_arquivo
@C:\Users\tanis\Downloads\teste.txt
--teste11
select *
from departamento;
select *
from funcionario;
select *
from funcionario
where nome = 'Pedro';
select *
from funcionario
where nome like '%o';
select nome
from funcionario;
select nome
from funcionario
where id_departamento=null;
select nome
from funcionario
where id_departamento is null;
update funcionario
set id_departamento = 2
where id_departamento is null;
select id_departamento
from funcionario;
--teste 12
-- teste13
-- teste14