Answered step by step
Verified Expert Solution
Question
1 Approved Answer
given the Database Schema. write SQL queries for the following. 1 . List of booking id that was shipped by Air with departure date in
given the Database Schema. write SQL queries for the following.
List of booking id that was shipped by Air with departure date in Jan
List the number of bookings by each mode of shipment id with departure date
in Jan
List the bookings by bookingid invoiced to FurniturePlus customer id:
that departed in Jan
List the highest valued invoices by invoiceid invoiced in GBP that were
sent in Jan
Return the list of customer names that had more than unique invoices sent
in Jan
Return the the list of legs and the amount invoiced to each leg in invoice
currency of FurniturePluscustomer id: first ever created shipment.
Hint: the integer id in the booking table is unique and autoincrement.
Return the list of the top customers, in descending order, by sales in
invoice currency invoiced in GBP in Jan In addition, for each of these
customers, return the next customer by sales in invoice currency from in the
same country, the amount of sales and the difference in sales between the
current and the next customer from the same country. Hint: columns needed:
o customername
o totalsales
o lagcustomernamesamecountry
o lagtotalsalessamecountry
o differenceinsales
Python:
Write a python function which reads json data from public API
api.coindesk.comvbpicurrentpricejson and do below
a Flatten the data in meaningful manner
b insert the data into table
i Keep a CSV file instead for the table.
Create a Analysis report on the above data basis your inferences.
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