Everyday SQL (13) interview question
We have 3 tables Orders table (ORDER_ID, CUSTOMER_ID, ORDER_DATE) Detail table (ORDER_ID, PRODUCT_ID, PRICE, UNITS) Customers table (CUSTOMER_ID, SIGNUP_DATE, COUNTRY) Data request: can you write a query to calculate % of customers that made an order each month, by signup month. Please return 3 columns: signup month, order month, % of customers Possible solution: with … Read more