El documento describe la creación de una base de datos llamada "ALUMNOS" con una tabla llamada "PERSONAL" que almacena datos de estudiantes como código, nombre, semestre, carrera y fecha de nacimiento. Luego se insertan registros de ejemplo y se realizan consultas utilizando funciones como YEAR, MONTH, DAY para extraer y calcular información como la edad a partir de la fecha de nacimiento. También se crea una base de datos de una tienda con una tabla de artículos y se incluyen campos calculados para obtener valores totales, desc
Introducción al ukiyo-e y antecedentes del mismo. Cómo este va a influir en el surgimiento del Manga. Importancia que el ukiyo-e tendrá sobre la ilustración y la pintura europea de finales del XIX e inicios del XX
This is just a test-post. That slide was about my assignment at Digital Brand and Advertising class. That was just a simple content which hi-lite what we need to do for GoodDay as a youth coffee in Indonesia. We planned it for digital.
Apresentação ocorrida em 23/07/2016, parte do curso EU PROGR{AMO} promovido pelo Progra{m}aria, sobre Software Livre e Cultura Hacker, tendo como palestrantes Haydée Svab e Camilla Gomes dos Santos.
Online Databases, Rights and Reproductions and Open Access - John ffrenchJohn ffrench
Presentation as guest lecturer for Julia Courtney's Fall 2015 Tufts University course: Curatorial Approaches to Collections. John ffrench (Director of Visual Resources at Yale University Art Gallery) presents information on Yale and the Yale University Art Gallery's history and approach to Open Access and how they automate much of the work today.
A presentation given at the International Image Interoperability Framework event held at Ghent University, Belgium on December 8, 2015.
Michael Appleby
Yale University
Introducción al ukiyo-e y antecedentes del mismo. Cómo este va a influir en el surgimiento del Manga. Importancia que el ukiyo-e tendrá sobre la ilustración y la pintura europea de finales del XIX e inicios del XX
This is just a test-post. That slide was about my assignment at Digital Brand and Advertising class. That was just a simple content which hi-lite what we need to do for GoodDay as a youth coffee in Indonesia. We planned it for digital.
Apresentação ocorrida em 23/07/2016, parte do curso EU PROGR{AMO} promovido pelo Progra{m}aria, sobre Software Livre e Cultura Hacker, tendo como palestrantes Haydée Svab e Camilla Gomes dos Santos.
Online Databases, Rights and Reproductions and Open Access - John ffrenchJohn ffrench
Presentation as guest lecturer for Julia Courtney's Fall 2015 Tufts University course: Curatorial Approaches to Collections. John ffrench (Director of Visual Resources at Yale University Art Gallery) presents information on Yale and the Yale University Art Gallery's history and approach to Open Access and how they automate much of the work today.
A presentation given at the International Image Interoperability Framework event held at Ghent University, Belgium on December 8, 2015.
Michael Appleby
Yale University
1. BASE DE DATOS
CAMPOS CALCULADOS CON FECHA
CREATE DATABASE ALUMNOS
USE ALUMNOS
CREATE TABLE PERSONAL(
COD_PER NVARCHAR (20) NOT NULL,
NOM_PER NVARCHAR (50) NOT NULL,
SEMESTRE_PER NVARCHAR (50)NOT NULL,
CARRERA_PER NVARCHAR (50)NOT NULL,
FECHA_PER smalldatetime NOT NULL
)
insert into PERSONAL(COD_PER,NOM_PER,SEMESTRE_PER,CARRERA_PER,FECHA_PER)
values('001','MENDOZA ARLISS','IV','COMPUTACION','12/09/1970')
insert into PERSONAL(COD_PER,NOM_PER,SEMESTRE_PER,CARRERA_PER,FECHA_PER)
values('002','CONTRERAS MIGUEL','II','ADMINISTRACION','12/10/1991')
insert into PERSONAL(COD_PER,NOM_PER,SEMESTRE_PER,CARRERA_PER,FECHA_PER)
values('003','PAREDES JOSE','IV','COMPUTACION','5/08/1990')
insert into PERSONAL(COD_PER,NOM_PER,SEMESTRE_PER,CARRERA_PER,FECHA_PER)
values('004','ZEGARRA CARINA','II','ADMINISTRACION','20/12/2000')
SELECT NOM_PER,FECHA_PER,YEAR(GETDATE())-YEAR (FECHA_PER) AS EDAD FROM
PERSONAL
SELECT NOM_PER,STR(YEAR(GETDATE())-YEAR(FECHA_PER))+'AÑOS' AS EDAD FROM
PERSONAL
RAMIRO CUSILAYME AGUILAR
2. BASE DE DATOS
SELECT NOM_PER,FECHA_PER FROM PERSONAL WHERE FECHA_PER='20/12/2000'
RAMIRO CUSILAYME AGUILAR
3. BASE DE DATOS
SELECT NOM_PER,FECHA_PER FROM PERSONAL WHERE YEAR(FECHA_PER)=1990
SELECT NOM_PER,FECHA_PER FROM PERSONAL WHERE MONTH(FECHA_PER)=12
RAMIRO CUSILAYME AGUILAR
4. BASE DE DATOS
SELECT NOM_PER,FECHA_PER FROM PERSONAL WHERE DAY(FECHA_PER)=12 AND
MONTH(FECHA_PER)=9
SELECT NOM_PER,FECHA_PER FROM PERSONAL WHERE MONTH(FECHA_PER)IN
(20,12,2000)
RAMIRO CUSILAYME AGUILAR
5. BASE DE DATOS
SELECT NOM_PER,FECHA_PER FROM PERSONAL WHERE MONTH(FECHA_PER)IN (12,5)
Creamos base de datos tiendas
CREATE DATABASE Tienda
USE Tienda
create table articulo(
cod_pro nvarchar(10)not null,
nombre_pro nvarchar(20) not null,
costo_pro numeric(18,0) not null,
precio_pro numeric(18,0) not null,
stock_pro smallint
)
select * from articulo
RAMIRO CUSILAYME AGUILAR
6. BASE DE DATOS
Calculamos un campo calculado:
select stock_pro,costo_pro,stock_pro*costo_pro as valor_total from
articulo
RAMIRO CUSILAYME AGUILAR
7. BASE DE DATOS
select nombre_pro,costo_pro,precio_pro,stock_pro,costo_pro*stock_pro as
valorizado from articulo
select nombre_pro,costo_pro,precio_pro,stock_pro,costo_pro*stock_pro as
SVP from articulo
RAMIRO CUSILAYME AGUILAR
8. BASE DE DATOS
select nombre_pro,costo_pro,precio_pro,stock_pro,(precio_pro-
costo_pro)*stock_pro as UTILIDADES from articulo
CAMPOS CALCULADOS CON VARIOS CAMPOS:
select nombre_pro,costo_pro,precio_pro,stock_pro,costo_pro*stock_pro as
SVC,precio_pro*stock_pro as SVP,(precio_pro-costo_pro)*stock_pro as
UTILIDADES from articulo
RAMIRO CUSILAYME AGUILAR
9. BASE DE DATOS
select nombre_pro,precio_pro,(precio_pro*20)/100 AS DESCUENTO from
articulo
select nombre_pro,precio_pro,precio_pro-(precio_pro*20)/100 AS PPUBLICO
from articulo
RAMIRO CUSILAYME AGUILAR
10. BASE DE DATOS
select nombre_pro,precio_pro,(precio_pro*20)/100 AS DESCUENTO,precio_pro-
(precio_pro*20/100)AS PPUBLICO from articulo
RAMIRO CUSILAYME AGUILAR