-- Comandos DDl
Create table ESTUDANTES (
Est_RGM Integer Primary key,
Est_Nome TEXT(40) NOT NULL,
Est_email TEXT(20),    
Est_Telefone Integer,
Est_Cidade TEXT(20) NOT NULL,
Est_Idade Integer NOT NULL
);

-- Comandos DML
Insert into ESTUDANTES values (1, 'Joãozinho', '', 1699999, 'Franca', 18);
Insert into ESTUDANTES values (2, 'Maria', 'mary@gmail.com', 1697899, 'Franca', 21);
Insert into ESTUDANTES values (3, 'Toinho', 'toto@uol.com', 1696599, 'Ibiraci', 17);
Insert into ESTUDANTES values (4, 'Carlinho', 'kar@hotmail.com', 1699349, 'Miguelopolis', 20);

-- Comandos DQl
Select Est_Nome, Est_Cidade From ESTUDANTES WHERE Est_RGM = 1;

UPDATE Estudantes SET Est_Nome = 'DAVIDA' WHERE Est_RGM = 1;

Select Est_Nome, Est_Cidade From ESTUDANTES WHERE Est_RGM = 1;

Delete from Estudantes WHERE Est_RGM = 1;
Select Est_Nome, Est_Cidade From ESTUDANTES WHERE Est_RGM = 1;

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: