Question: Write the code to determine which customers have placed more than 6 orders for any kind of flooring in the past 3 years who have

Write the code to determine which customers have placed more than 6 orders for any kind of flooring in the past 3 years who have also had a sliding-glass door replaced in the past 2 years with employee Jordon Bailey having participated.

The "flooring" is a PRODUCT, and "replacing sliding glass door" is a JOB

Write the code to determine which customers have placed more than 6

PR PR RIIIID EMPLOYEE SKILL CustTypeName CustTypeDescr LevelName LevelDescr FK1 SkillTypelD SkillName SkillDescr PK EmpSkillID FK1 EmpID FK2 SkilIID FK3 LevelID EMPLOYEE CUSTOMER JOB TYPE PK EmplD PK CustID PK JobTypelD EmpFname EmpLname EmpBirthDate FK1 CustTypelD JobTypeName Job lypeDescr CustFname CustLname CustAddress CustCity CustState CustZip CUST JOB TASK PK JobTasklD TAS PK Tas Tas JOB FK1 TaskID FK2 EquipID FK3 ToolID FK4 EmpSkillID FK5 JobID PK JoblD ORDER JobName JobBeginDate JobEndDate Tasl PK OrderlD FK1 JobTypelD FK2CustID BeginTime EndTime FK1 JobID OrderDate JobDescr EQUIPMENT PK EquiplD FK1 EquipTypellD LINE ITEM TOOL_TYPE TOOL PK LineltemID PK IoolTypelD PK IoolID ToolName ToolTypeName ToolTypeDescr FK1 OrderlD FK1 ToolTypelD FK2 ProductlD Qty EquipName EquipDecsr ToolDescr PRODUCT PRODUCT TYPE TOOL CONDITION PK ProductTypelD PK ProductName Price ProductTypeName FK1 ToolID ProductTypeDescrFK2 ConditionID FK1 ProductTypelD BeginDate PR PR RIIIID EMPLOYEE SKILL CustTypeName CustTypeDescr LevelName LevelDescr FK1 SkillTypelD SkillName SkillDescr PK EmpSkillID FK1 EmpID FK2 SkilIID FK3 LevelID EMPLOYEE CUSTOMER JOB TYPE PK EmplD PK CustID PK JobTypelD EmpFname EmpLname EmpBirthDate FK1 CustTypelD JobTypeName Job lypeDescr CustFname CustLname CustAddress CustCity CustState CustZip CUST JOB TASK PK JobTasklD TAS PK Tas Tas JOB FK1 TaskID FK2 EquipID FK3 ToolID FK4 EmpSkillID FK5 JobID PK JoblD ORDER JobName JobBeginDate JobEndDate Tasl PK OrderlD FK1 JobTypelD FK2CustID BeginTime EndTime FK1 JobID OrderDate JobDescr EQUIPMENT PK EquiplD FK1 EquipTypellD LINE ITEM TOOL_TYPE TOOL PK LineltemID PK IoolTypelD PK IoolID ToolName ToolTypeName ToolTypeDescr FK1 OrderlD FK1 ToolTypelD FK2 ProductlD Qty EquipName EquipDecsr ToolDescr PRODUCT PRODUCT TYPE TOOL CONDITION PK ProductTypelD PK ProductName Price ProductTypeName FK1 ToolID ProductTypeDescrFK2 ConditionID FK1 ProductTypelD BeginDate

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!