Icon

ITSCM774_​Team7_​Assign1

We use these simple queries to get alist of the stores (with locationinformation) and the staff (with theircontact information) that the bikecompany has. We use this query to gatherinformation on all the customersserviced by Mireya Copeland (Staff ID#2). We can use the information soMireya can send her customersmarketing material.We use this query for inventorypurposes to see all the available Trekbikes (Brand ID #9) at the Santa Cruzstore (Store ID #1). We use this query for HRpurposes. It gives us the amountof employees per state and sortsfrom least to most amount ofemployees.We use this query to keep trackof our customers in descendingorder of total amount of dollarsspent. We can use this for arewards or rebate program. Input SQLquery for store infoquery for all staffsales.customers tablesales.orders tablesales.staffs tablejoin with customer_idjoin with staff_idfilter by staff_idfilter for customer infofilter for bike infoproduction.stocks tablejoin with store_idproduction.products tablejoin with product_idfilter by store_id& brand_idsales.stores tablesales.staffs tablesales.stores tablejoin with store_idgroup by statesort by amountsort by total spendgroup bycustomer infosales.customers tablejoin with customer_idsales.orders tablejoin with order_idsales.orders_items tabletable readertable readertable readertable reader MySQL Connector DB Query Reader DB Query Reader DB Table Selector DB Table Selector DB Table Selector DB Joiner DB Joiner DB Row Filter DB Column Filter DB Column Filter DB Table Selector DB Joiner DB Table Selector DB Joiner DB Row Filter DB Table Selector DB Table Selector DB Table Selector DB Joiner DB GroupBy DB Sorter DB Sorter DB GroupBy DB Table Selector DB Joiner DB Table Selector DB Joiner DB Table Selector DB Reader DB Reader DB Reader DB Reader We use these simple queries to get alist of the stores (with locationinformation) and the staff (with theircontact information) that the bikecompany has. We use this query to gatherinformation on all the customersserviced by Mireya Copeland (Staff ID#2). We can use the information soMireya can send her customersmarketing material.We use this query for inventorypurposes to see all the available Trekbikes (Brand ID #9) at the Santa Cruzstore (Store ID #1). We use this query for HRpurposes. It gives us the amountof employees per state and sortsfrom least to most amount ofemployees.We use this query to keep trackof our customers in descendingorder of total amount of dollarsspent. We can use this for arewards or rebate program. Input SQLquery for store infoquery for all staffsales.customers tablesales.orders tablesales.staffs tablejoin with customer_idjoin with staff_idfilter by staff_idfilter for customer infofilter for bike infoproduction.stocks tablejoin with store_idproduction.products tablejoin with product_idfilter by store_id& brand_idsales.stores tablesales.staffs tablesales.stores tablejoin with store_idgroup by statesort by amountsort by total spendgroup bycustomer infosales.customers tablejoin with customer_idsales.orders tablejoin with order_idsales.orders_items tabletable readertable readertable readertable readerMySQL Connector DB Query Reader DB Query Reader DB Table Selector DB Table Selector DB Table Selector DB Joiner DB Joiner DB Row Filter DB Column Filter DB Column Filter DB Table Selector DB Joiner DB Table Selector DB Joiner DB Row Filter DB Table Selector DB Table Selector DB Table Selector DB Joiner DB GroupBy DB Sorter DB Sorter DB GroupBy DB Table Selector DB Joiner DB Table Selector DB Joiner DB Table Selector DB Reader DB Reader DB Reader DB Reader

Nodes

Extensions

Links