Skip to content

Instantly share code, notes, and snippets.

@vitorpiovezam
Last active August 16, 2018 01:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vitorpiovezam/14a0aeee92bfba9763a61669fe9d4faf to your computer and use it in GitHub Desktop.
Save vitorpiovezam/14a0aeee92bfba9763a61669fe9d4faf to your computer and use it in GitHub Desktop.
Aula Banco 15/08
create table rm78227_table(
data_da_aula date,
assunto_da_aula varchar2(255),
resumo varchar2(255),
github_repo varchar2(255) default 'www.github.com/vitorpiovezam/fiap-projects/4semestre/database'
)
comment on column rm78227_table.assunto_da_aula is "HEADLINE";
comment on column rm78227_table.resumo is "textos e anotações";
select * from rm78227_table;
drop table rm78227_table;
describe rm78227_table;
delete from rm78227_table;
-- insert
insert into rm78227_table (data_da_aula,assunto_da_aula,resumo,github_repo)
values
('15/08/2018','ALTER TABLES, ADD/DROP/MODIFY','Maded a Gist from class','https://gist.github.com/vitorpiovezam/14a0aeee92bfba9763a61669fe9d4faf');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment