View
225
Download
0
Category
Preview:
Citation preview
7/21/2019 Indic Adores
http://slidepdf.com/reader/full/indic-adores-56da533336d17 1/13
MODELADO DE BASE DE DATOS
Indicadores
Martínez San German Jesús Apolinar
30/11/2015
Jisha Edna Marín Rodríguez E11020568
Enrique García Nieto E11020414
Abraham Hernández Molina E11020420
Nicolás Canseco Rivera E11020855
7/21/2019 Indic Adores
http://slidepdf.com/reader/full/indic-adores-56da533336d17 2/13
Consulta
select (e.FirstName+''+e.LastName) as Nombre,sum(od.Quantity*od.UnitPrice)as Venta, YEAR(o.OrderDate) as Año from Employees e join Orders o on e.EmployeeID=o.EmployeeID
join [Order Details] od on o.OrderID=od.OrderID group by e.FirstName, e.LastName,YEAR(o.OrderDate) order by YEAR(o.OrderDate) asc
1996
AndrewFuller 22834.7
AnneDodsworth 11365.7
JanetLeverling 19386.8
LauraCallahan 23161.4
MargaretPeacock 53269.8
MichaelSuyama 17886.1
NancyDavolio 38789
RobertKing 18104.8
StevenBuchanan 23378.2
0
10000
20000
30000
40000
50000
60000
Series1
Series2
7/21/2019 Indic Adores
http://slidepdf.com/reader/full/indic-adores-56da533336d17 3/13
1997
AndrewFuller 74958.6
AnneDodsworth 29577.55
JanetLeverling 111788.61
LauraCallahan 59776.52MargaretPeacock 139477.7
MichaelSuyama 45992
NancyDavolio 97533.58
RobertKing 66689.14
StevenBuchanan 32595.05
0
10000
20000
30000
40000
50000
60000
7000080000
90000
Series1
Series2
7/21/2019 Indic Adores
http://slidepdf.com/reader/full/indic-adores-56da533336d17 4/13
1998
AndrewFuller 79955.96
AnneDodsworth 42020.75
JanetLeverling 82030.89
LauraCallahan 50363.11MargaretPeacock 57594.95
MichaelSuyama 14475
NancyDavolio 65821.13
RobertKing 56502.05
StevenBuchanan 21007.5
0
10000
20000
30000
40000
50000
60000
7000080000
90000
Series1
Series2
7/21/2019 Indic Adores
http://slidepdf.com/reader/full/indic-adores-56da533336d17 5/13
Producto
select p.ProductName,sum(od.Quantity) as Venta, YEAR(o.OrderDate)as fecha from Products p join [Order Details] od on p.ProductID=od.ProductID join Orders o on od.OrderID=o.OrderID
where YEAR(o.OrderDate)=1996group by p.ProductName, YEAR(o.OrderDate) order by YEAR(o.OrderDate) asc
año 1996
Alice Mutton 234
Aniseed Syrup 30
Boston Crab Meat 204
Camembert Pierrot 370
Carnarvon Tigers 106
Chai 125
Chang 226
Chartreuse verte 266
Chef Anton's Cajun Seasoning 107
Chef Anton's Gumbo Mix 129
coca 40
Côte de Blaye 140
DVD 6
Escargots de Bourgogne 155
Filo Mix 48
Flotemysost 261
focos 80
Geitost 197
Genen Shouyu 25
Gnocchi di nonna Alice 96
Gorgonzola Telino 444
Grandma's Boysenberry Spread 36
Gravad lax 29
Guaraná Fantástica 158
Gudbrandsdalsost 149
Gula Malacca 138
Gumbär Gummibärchen 160
Gustaf's Knäckebröd 6
Ikura 105
Inlagd Sill 193
Ipoh Coffee 136
7/21/2019 Indic Adores
http://slidepdf.com/reader/full/indic-adores-56da533336d17 6/13
Jack's New England Clam Chowder 114
Konbu 90
Lakkalikööri 146
Laughing Lumberjack Lager 5
Longlife Tofu 141
Louisiana Fiery Hot Pepper Sauce 155
Louisiana Hot Spiced Okra 30
Manjimup Dried Apples 163
Mascarpone Fabioli 52
Maxilaku 120
Mozzarella di Giovanni 260
Nord-Ost Matjeshering 152
Northwoods Cranberry Sauce 140
NuNuCa Nuß-Nougat-Creme 71
Original Frankfurter grüne Soße 63
Outback Lager 156
Pâté chinois 228
Pavlova 252
pepsi 30
Perth Pasties 211
Queso Cabrales 110
Queso Manchego La Pastora 12
Raclette Courdavault 231
Ravioli Angelo 133
Rhönbräu Klosterbier 120
Röd Kaviar 25
Rogede sild 15
Rössle Sauerkraut 135
Sasquatch Ale 90
Schoggi Schokolade 40
Scottish Longbreads 133
Singaporean Hokkien Fried Mee 37
Sir Rodney's Marmalade 106
Sir Rodney's Scones 55
Spegesild 118
Steeleye Stout 274
Tarte au sucre 250
Teatime Chocolate Biscuits 124
Thüringer Rostbratwurst 123
Tofu 85
Tourtière 154
7/21/2019 Indic Adores
http://slidepdf.com/reader/full/indic-adores-56da533336d17 7/13
Tunnbröd 105
Uncle Bob's Organic Dried Pears 25
Valkoinen suklaa 30
Vegie-spread 109
Wimmers gute Semmelknödel 124
Zaanse koeken 16
050
100150200250300350400450
A l i c e M u t t o n
C a r n a r v o n T i g e r s
C h e f A n t o n ' s C a j u n …
D V D
f o c o s
G o r g o n z o l a T e l i n o
G u d b r a n d s d a l s o s t
I k u r a
K o n b u
L o u i s i a n a F i e r y H o t …
M a x i l a k u
N u N u C a N u ß - …
P a v l o v a
Q u e s o M a n c h e g o L a …
R ö d K a v i a r
S c h o g g i S c h o k o l a d e
S i r R o d n e y ' s S c o n e s
T e a t i m e C h o c o l a t e …
T u n n b r ö d
W i m m e r s g u t e …
Series1
7/21/2019 Indic Adores
http://slidepdf.com/reader/full/indic-adores-56da533336d17 8/13
Año 1997
select p.ProductName,sum(od.Quantity) as Venta, YEAR(o.OrderDate)as fecha from Products p join [Order Details] od on p.ProductID=od.ProductID join Orders o on od.OrderID=o.OrderID
where YEAR(o.OrderDate)=1997group by p.ProductName, YEAR(o.OrderDate) order by YEAR(o.OrderDate) asc
Alice Mutton 527
Aniseed Syrup 190
Boston Crab Meat 596
Camembert Pierrot 665
Carnarvon Tigers 282
Chai 304
Chang 435
Chartreuse verte 283
Chef Anton's Cajun Seasoning 264
Chef Anton's Gumbo Mix 19
Chocolade 130
Côte de Blaye 223
Escargots de Bourgogne 177
Filo Mix 313
Flotemysost 454
Geitost 356
Genen Shouyu 97Gnocchi di nonna Alice 971
Gorgonzola Telino 656
Grandma's Boysenberry Spread 100
Gravad lax 28
Guaraná Fantástica 421
Gudbrandsdalsost 430
Gula Malacca 396
Gumbär Gummibärchen 382
Gustaf's Knäckebröd 209
Ikura 346Inlagd Sill 378
Ipoh Coffee 258
Jack's New England Clam
Chowder
549
Konbu 142
Lakkalikööri 447
7/21/2019 Indic Adores
http://slidepdf.com/reader/full/indic-adores-56da533336d17 9/13
Laughing Lumberjack Lager 65
Longlife Tofu 116
Louisiana Fiery Hot Pepper
Sauce
490
Louisiana Hot Spiced Okra 208
Manjimup Dried Apples 501Mascarpone Fabioli 98
Maxilaku 183
Mishi Kobe Niku 92
Mozzarella di Giovanni 353
Nord-Ost Matjeshering 264
Northwoods Cranberry Sauce 114
NuNuCa Nuß-Nougat-Creme 152
Original Frankfurter grüne Soße 432
Outback Lager 413
Pâté chinois 419
Pavlova 571
Perth Pasties 352
Queso Cabrales 374
Queso Manchego La Pastora 236
Raclette Courdavault 752
Ravioli Angelo 124
Rhönbräu Klosterbier 630
Röd Kaviar 256
Rogede sild 392
Rössle Sauerkraut 344
Sasquatch Ale 171
Schoggi Schokolade 260
Scottish Longbreads 385
Singaporean Hokkien Fried Mee 451
Sir Rodney's Marmalade 96
Sir Rodney's Scones 610
Sirop d'érable 396
Spegesild 269
Steeleye Stout 346
Tarte au sucre 482
Teatime Chocolate Biscuits 377
Thüringer Rostbratwurst 305
Tofu 298
Tourtière 494
Tunnbröd 287
Uncle Bob's Organic Dried Pears 324
7/21/2019 Indic Adores
http://slidepdf.com/reader/full/indic-adores-56da533336d17 10/13
Valkoinen suklaa 150
Vegie-spread 189
Wimmers gute Semmelknödel 281
Zaanse koeken 359
0100200300400500600700800900
1000
A l i c e
M u t t o n
C a r n a r v o
n T i g e r s
C h e f A n t o n
' s C a j u n …
E s c a r g o t s d e …
G e n e n
S h o u y u
G r a v a d l a x
G u m b ä r …
I p o h C o f f e e
L a u g h i n g L u m
b e r j a c k …
M a n j i m u
p D r i e d …
M o z z a r e l l a d i G
i o v a n n i
O r i g i n a l F r a n k f u r t e r …
P e r t h
P a s t i e s
R a v i o l i A n g e l o
R ö s s l e S a u
e r k r a u t
S i n g a p o r e a n H o k k i e n …
S p e g e s i l d
T h
ü r i n g e r …
U n c l e B o b ' s
O r g a n i c …
Z a a n s e
k o e k e n
Series1
7/21/2019 Indic Adores
http://slidepdf.com/reader/full/indic-adores-56da533336d17 11/13
Año 1998
select p.ProductName,sum(od.Quantity) as Venta, YEAR(o.OrderDate)as fecha from Products p join [Order Details] od on p.ProductID=od.ProductID join Orders o on od.OrderID=o.OrderID
where YEAR(o.OrderDate)=1998group by p.ProductName, YEAR(o.OrderDate) order by YEAR(o.OrderDate) asc
Alice Mutton 527
Aniseed Syrup 190
Boston Crab Meat 596
Camembert Pierrot 665
Carnarvon Tigers 282
Chai 304
Chang 435
Chartreuse verte 283
Chef Anton's Cajun Seasoning 264
Chef Anton's Gumbo Mix 19
Chocolade 130
Côte de Blaye 223
Escargots de Bourgogne 177
Filo Mix 313
Flotemysost 454
Geitost 356
Genen Shouyu 97Gnocchi di nonna Alice 971
Gorgonzola Telino 656
Grandma's Boysenberry Spread 100
Gravad lax 28
Guaraná Fantástica 421
Gudbrandsdalsost 430
Gula Malacca 396
Gumbär Gummibärchen 382
Gustaf's Knäckebröd 209
Ikura 346Inlagd Sill 378
Ipoh Coffee 258
Jack's New England Clam
Chowder
549
Konbu 142
Lakkalikööri 447
7/21/2019 Indic Adores
http://slidepdf.com/reader/full/indic-adores-56da533336d17 12/13
Laughing Lumberjack Lager 65
Longlife Tofu 116
Louisiana Fiery Hot Pepper
Sauce
490
Louisiana Hot Spiced Okra 208
Manjimup Dried Apples 501Mascarpone Fabioli 98
Maxilaku 183
Mishi Kobe Niku 92
Mozzarella di Giovanni 353
Nord-Ost Matjeshering 264
Northwoods Cranberry Sauce 114
NuNuCa Nuß-Nougat-Creme 152
Original Frankfurter grüne Soße 432
Outback Lager 413
Pâté chinois 419
Pavlova 571
Perth Pasties 352
Queso Cabrales 374
Queso Manchego La Pastora 236
Raclette Courdavault 752
Ravioli Angelo 124
Rhönbräu Klosterbier 630
Röd Kaviar 256
Rogede sild 392
Rössle Sauerkraut 344
Sasquatch Ale 171
Schoggi Schokolade 260
Scottish Longbreads 385
Singaporean Hokkien Fried Mee 451
Sir Rodney's Marmalade 96
Sir Rodney's Scones 610
Sirop d'érable 396
Spegesild 269
Steeleye Stout 346
Tarte au sucre 482
Teatime Chocolate Biscuits 377
Thüringer Rostbratwurst 305
Tofu 298
Tourtière 494
Tunnbröd 287
Uncle Bob's Organic Dried Pears 324
7/21/2019 Indic Adores
http://slidepdf.com/reader/full/indic-adores-56da533336d17 13/13
Valkoinen suklaa 150
Vegie-spread 189
Wimmers gute Semmelknödel 281
Zaanse koeken 359
0100200300400500600700800900
1000
A l i c e
M u t t o n
C a r n a r v o
n T i g e r s
C h e f A n t o n
' s C a j u n …
E s c a r g o t s d e …
G e n e n
S h o u y u
G r a v a d l a x
G u m b ä r …
I p o h C o f f e e
L a u g h i n g L u m
b e r j a c k …
M a n j i m u
p D r i e d …
M o z z a r e l l a d i G
i o v a n n i
O r i g i n a l F r a n k f u r t e r …
P e r t h
P a s t i e s
R a v i o l i A n g e l o
R ö s s l e S a u
e r k r a u t
S i n g a p o r e a n H o k k i e n …
S p e g e s i l d
T h
ü r i n g e r …
U n c l e B o b ' s
O r g a n i c …
Z a a n s e
k o e k e n
Series1
Recommended