10
Thomas_Zena_GreenwoodHighSchool_WI_Job1 This table will contain information about the customers, their orders, and their sales rep number This table will contain information about the sales reps at Floral Frenzy

Thomas Zena GreenwoodHighSchool WI Job1 - FBLA-PBL · 2018-10-02 · Thomas_Zena_GreenwoodHighSchool_WI_Job7 ... 1/2/2017 sol + CJ S02 soa + S04 + Record: Rudd Lopez McCarthy Washington

  • Upload
    others

  • View
    3

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Thomas Zena GreenwoodHighSchool WI Job1 - FBLA-PBL · 2018-10-02 · Thomas_Zena_GreenwoodHighSchool_WI_Job7 ... 1/2/2017 sol + CJ S02 soa + S04 + Record: Rudd Lopez McCarthy Washington

Thomas_Zena_GreenwoodHighSchool_WI_Job1  

 

This table will contain information about the customers, their orders, and their sales rep number 

 

 

This table will contain information about the sales reps at Floral Frenzy   

Page 2: Thomas Zena GreenwoodHighSchool WI Job1 - FBLA-PBL · 2018-10-02 · Thomas_Zena_GreenwoodHighSchool_WI_Job7 ... 1/2/2017 sol + CJ S02 soa + S04 + Record: Rudd Lopez McCarthy Washington

Thomas_Zena_GreenwoodHighSchool_WI_Job2  

 

 

 

 

 

Page 3: Thomas Zena GreenwoodHighSchool WI Job1 - FBLA-PBL · 2018-10-02 · Thomas_Zena_GreenwoodHighSchool_WI_Job7 ... 1/2/2017 sol + CJ S02 soa + S04 + Record: Rudd Lopez McCarthy Washington

Thomas_Zena_GreenwoodHighSchool_WI_Job3  

 

Page 4: Thomas Zena GreenwoodHighSchool WI Job1 - FBLA-PBL · 2018-10-02 · Thomas_Zena_GreenwoodHighSchool_WI_Job7 ... 1/2/2017 sol + CJ S02 soa + S04 + Record: Rudd Lopez McCarthy Washington

Thomas_Zena_GreenwoodHighSchool_WI_Job4  

 

SELECT Customer.[Customer Name], Customer.[Customer ID], Customer.[Amount Purchased] 

FROM Customer; 

 

Page 5: Thomas Zena GreenwoodHighSchool WI Job1 - FBLA-PBL · 2018-10-02 · Thomas_Zena_GreenwoodHighSchool_WI_Job7 ... 1/2/2017 sol + CJ S02 soa + S04 + Record: Rudd Lopez McCarthy Washington

Thomas_Zena_GreenwoodHighSchool_WI_Job5  

 

  SELECT [Sales Rep].[Sales Rep Last Name], [Sales Rep].[Employment Date] 

FROM [Sales Rep] 

WHERE ((([Sales Rep].[Employment Date])<=#9/9/2010#))  

Page 6: Thomas Zena GreenwoodHighSchool WI Job1 - FBLA-PBL · 2018-10-02 · Thomas_Zena_GreenwoodHighSchool_WI_Job7 ... 1/2/2017 sol + CJ S02 soa + S04 + Record: Rudd Lopez McCarthy Washington

Thomas_Zena_GreenwoodHighSchool_WI_Job5  

ORDER BY [Sales Rep].[Employment Date]; 

 

Page 7: Thomas Zena GreenwoodHighSchool WI Job1 - FBLA-PBL · 2018-10-02 · Thomas_Zena_GreenwoodHighSchool_WI_Job7 ... 1/2/2017 sol + CJ S02 soa + S04 + Record: Rudd Lopez McCarthy Washington

Thomas_Zena_GreenwoodHighSchool_WI_Job6  

 

 

SELECT Customer.[Customer Name], [Sales Rep].[Sales Rep ID], Customer.[Amount Purchased] 

FROM [Sales Rep] INNER JOIN Customer ON [Sales Rep].[Sales Rep ID] = Customer.[Sales Rep ID]; 

 

Page 8: Thomas Zena GreenwoodHighSchool WI Job1 - FBLA-PBL · 2018-10-02 · Thomas_Zena_GreenwoodHighSchool_WI_Job7 ... 1/2/2017 sol + CJ S02 soa + S04 + Record: Rudd Lopez McCarthy Washington

Thomas_Zena_GreenwoodHighSchool_WI_Job7  

 

SELECT Avg(Customer.[Amount Purchased]) AS [AvgOfAmount Purchased], [Sales Rep].[Sales Rep Last 

Name], [Sales Rep].[Sales Rep ID] 

FROM [Sales Rep] INNER JOIN Customer ON [Sales Rep].[Sales Rep ID] = Customer.[Sales Rep ID] 

GROUP BY [Sales Rep].[Sales Rep Last Name], [Sales Rep].[Sales Rep ID] 

Page 9: Thomas Zena GreenwoodHighSchool WI Job1 - FBLA-PBL · 2018-10-02 · Thomas_Zena_GreenwoodHighSchool_WI_Job7 ... 1/2/2017 sol + CJ S02 soa + S04 + Record: Rudd Lopez McCarthy Washington

Thomas_Zena_GreenwoodHighSchool_WI_Job7  

ORDER BY [Sales Rep].[Sales Rep ID]; 

 

Page 10: Thomas Zena GreenwoodHighSchool WI Job1 - FBLA-PBL · 2018-10-02 · Thomas_Zena_GreenwoodHighSchool_WI_Job7 ... 1/2/2017 sol + CJ S02 soa + S04 + Record: Rudd Lopez McCarthy Washington

Thomas_Zena_GreenwoodHighSchool_WI_Job8