SlideShare una empresa de Scribd logo
1 de 3
Descargar para leer sin conexión
UNIVERSIDAD TECNOLÓGICA DE
                  TEHUACÁN




   Técnico Superior Universitario en Tecnologías de la
              Información y Comunicación




ALUMNO: Orlando López Flores

MATERIA: Base De Datos

Grupo: “A”

Grado: 2 cuatrimestre
Producto
 Id       Nombre        Precio     Cantidad        Código de Barras              Id_Proveedor
Long       Nvarchar      Nvarchar   Nvarchar          Nvarchar                       Long
(20)         (25)          (20)       (50)               (30)                        (25)
 Pk                                                                                   Fk
3502      Fabuloso          200         20            3592468                      23456776
3503         Foca           80          15            3567283                      24537784
3504      Mayonesa          70          50            3567289                      35527389
3505       Sobritas         50          40            3526273                      53728464
3506        Huevo           80          35            3526282                      63472834
3507        Leche           60          59            3523728                      63474838




                                     Empleado
 Id       Nombre           A.         A.      Domicilio               Teléfono       Edad       Id_venta
                        Paterno    Materno
Long      Nvarchar      Nvarchar   Nvarchar   Nvarchar                Nvarchar     Nvarchar       Long
 Pk         (15)          (15)       (15)       (25)                    (20)         (50)          Fk
(25)                                                                                              (25)
 100       Juan         Escobedo   García   Col. Guadalupe       2361045678           20        23456776
 101     Orlando           López    Flores  Col. Ojo de agua     2361042567           20        24537784
 102     Sandra          Jiménez   Zarault   Col. La garita      2361043678           21        35527389
 103     Miguel           Juárez  Méndez      Col. Zapotal       2361033456           28        53728464
 104   Luis Alberto     Avendaño Altamirano Col. Guadalupe       2361044567           21        63472834




                 Proveedores
   Id        Nombre     Pedidos         Teléfono
  Long       Nvarchar  Nvarchar         Nvarchar
  (25)         (15)       (25)            (20)
   Pk
2383501       Alpura          20       2361068156
3502349       Pepsi           12         3740639
3849303       Barcel          32         3740812
748302       Yoplait          10         3740411
7292048        Fud            23         3740059
920203       Marínela         12         3740646
Cliente
  Id       Nombre     A. Paterno     A. Materno     Cantidad_de_productos
 Long      Nvarchar    Nvarchar       Nvarchar             Nvarchar
 (25)        (15)         (15)           (15)                (25)
  Pk
  01       Antonio     Aguilar         López                 5
  02         Juan     Guzmán           Olivera               2
  03       Hernán     Gutiérrez       Mendoza                4
  04        Arturo      Villar        Mendoza                23
  05       Orlando     López           Flores                10


                       Ventas
   Id      Nombre_del_producto       Precio_Total          Id_Cliente       Id_Empleado
  Long          Nvarchar               Nvarchar               Long              Long
  (25)            (15)                   (15)                 (25)              (25)
   Pk                                                          Fk                 Fk
  1201            Leche                   14                   01                100
  1202           Huevo                    30                   02                101
  1203           Gansito                   8                   03                102
  1204            Pepsi                    9                   04                103
  1205             Ace                    13                   05                104




                   TENER
Venta             Producto        Cantidad
     Id              Id
    Long            Long           Long
     FK              Fk             20
    1201            3502            30
    1202            3503            15
    1203            3504            23
    1204            3505            34
    1205            3506            12

Más contenido relacionado

Destacado

How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
 

Destacado (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

Tablas

  • 1. UNIVERSIDAD TECNOLÓGICA DE TEHUACÁN Técnico Superior Universitario en Tecnologías de la Información y Comunicación ALUMNO: Orlando López Flores MATERIA: Base De Datos Grupo: “A” Grado: 2 cuatrimestre
  • 2. Producto Id Nombre Precio Cantidad Código de Barras Id_Proveedor Long Nvarchar Nvarchar Nvarchar Nvarchar Long (20) (25) (20) (50) (30) (25) Pk Fk 3502 Fabuloso 200 20 3592468 23456776 3503 Foca 80 15 3567283 24537784 3504 Mayonesa 70 50 3567289 35527389 3505 Sobritas 50 40 3526273 53728464 3506 Huevo 80 35 3526282 63472834 3507 Leche 60 59 3523728 63474838 Empleado Id Nombre A. A. Domicilio Teléfono Edad Id_venta Paterno Materno Long Nvarchar Nvarchar Nvarchar Nvarchar Nvarchar Nvarchar Long Pk (15) (15) (15) (25) (20) (50) Fk (25) (25) 100 Juan Escobedo García Col. Guadalupe 2361045678 20 23456776 101 Orlando López Flores Col. Ojo de agua 2361042567 20 24537784 102 Sandra Jiménez Zarault Col. La garita 2361043678 21 35527389 103 Miguel Juárez Méndez Col. Zapotal 2361033456 28 53728464 104 Luis Alberto Avendaño Altamirano Col. Guadalupe 2361044567 21 63472834 Proveedores Id Nombre Pedidos Teléfono Long Nvarchar Nvarchar Nvarchar (25) (15) (25) (20) Pk 2383501 Alpura 20 2361068156 3502349 Pepsi 12 3740639 3849303 Barcel 32 3740812 748302 Yoplait 10 3740411 7292048 Fud 23 3740059 920203 Marínela 12 3740646
  • 3. Cliente Id Nombre A. Paterno A. Materno Cantidad_de_productos Long Nvarchar Nvarchar Nvarchar Nvarchar (25) (15) (15) (15) (25) Pk 01 Antonio Aguilar López 5 02 Juan Guzmán Olivera 2 03 Hernán Gutiérrez Mendoza 4 04 Arturo Villar Mendoza 23 05 Orlando López Flores 10 Ventas Id Nombre_del_producto Precio_Total Id_Cliente Id_Empleado Long Nvarchar Nvarchar Long Long (25) (15) (15) (25) (25) Pk Fk Fk 1201 Leche 14 01 100 1202 Huevo 30 02 101 1203 Gansito 8 03 102 1204 Pepsi 9 04 103 1205 Ace 13 05 104 TENER Venta Producto Cantidad Id Id Long Long Long FK Fk 20 1201 3502 30 1202 3503 15 1203 3504 23 1204 3505 34 1205 3506 12