Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Write SQL 4./*How many orders were placed by Pavel Bogdanov, Camille Authier, and Sabine Zalite during the month of January 2016? Order the list from
Write SQL
4./*How many orders were placed by Pavel Bogdanov, Camille Authier, and Sabine Zalite during the month of January 2016? Order the list from highest to lowest number of orders.*/
5./*What was the combined total (without tax) of all orders for customer Gayatri Gajula ordered for each quarter of 2015?*/
6./*How many orders were placed between July 1 and Sept 30, 2014 for customers in the Corporate category. Group the orders by month.*/
Sales schema Orders (Sales) OrderlD CustomerllD SalespersonPersonlD PickedByPersonlD ContactPersonlD BackorderOrderlD OrderDate ExpectedDeliveryDate CustomerPurchaseOrderNu... IsUndersupplyBackordered OrderLines (Sales) OrderLinelD OrderlD StockltemlD Description PackageTypelD Quantity UnitPrice TaxRate PickedQuantity PickingCompletedWhen LastEditedBy LastEditedWhen Application.People Application.People Application.People Customers (Sales) Warehouse.Stockitems CustomerlD Warehouse.PackageTypes BillToCustomerlD CustomerCategorylD PrimaryContactPersonlD AlternateContactPersonlD DeliveryMethodID DeliveryCitylD PostalCitylD CreditLimit AccountOpenedDate StandardDiscountPercentage IsStatementSent IsOnCreditHold PaymentDays PhoneNumber FaxNumber DeliveryRun RunPosition WebsiteURL DeliveryAddressLine1 DeliveryAddressLine2 DeliveryPostalCode DeliveryLocation PostalAddressLine PostalAddressLine2 PostalPostalCode LastEditedBy ValidFrom ValidTo Deliverylnstructions InternalComments PickingCompletedWhen LastEditedBy LastEditedWhen CustomerCategories (Sales) 8 CustomerCategorylD LastEditedBy ValidFrom ValidTo SpecialDeals (Sales) SpecialDealD StockltemlD CustomerlD BuyingGrouplD CustomerCategorylD StockGrouplD DealDescription StartDate EndDate DiscountAmount DiscountPercentage UnitPrice LastEditedBy LastEditedWhen >Warehouse.Stockitems Warehouse.StockGroups BuyingGroups (Sales) BuyingGroupName LastEditedBy ValidFrom ValidTo
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started