JosemariaPerezManriquez6-4#17
SQL
-- Se crea la tabla estudiantes
CREATE TABLE estudiantes (
numcred INTEGER PRIMARY KEY,
nombre TEXT ,
edad INTEGER,
promedio REAL,
correo TEXT
);
-- Se insertan 8 registros
INSERT INTO estudiantes (nombre, edad, promedio, correo)
VALUES ("Edgar Isai Álvarez García", 17, 9.0, "isaialvarez@gmail.com");
INSERT INTO estudiantes (nombre, edad, promedio, correo)
VALUES ("Emily Castro Galván", 17, 9.3, "emilycas@gmail.com");
INSERT INTO estudiantes (nombre, edad, promedio, correo)
VALUES ("Max Gerardo Lugo De La Torre", 17, 8.5, "maxgedsheran@gmail.com");
INSERT INTO estudiantes (nombre, edad, promedio, correo)
VALUES ("Valeria Padilla Ayala", 17, 9.0, "valepaday@gmail.com");
-- se realiza una consulta
SELECT * FROM estudiantes
Output
Embed on website
To embed this program on your website, copy the following code and paste it into your website's HTML:
Comments
This comment belongs to a banned user and is only visible to admins.
This comment belongs to a deleted user and is only visible to admins.