Question: 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
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
