Changes between Version 1 and Version 2 of SQL


Ignore:
Timestamp:
01/21/25 22:41:06 (5 weeks ago)
Author:
163080
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • SQL

    v1 v2  
    1 ===Advanced SQL Queries and Reports for Invoices
     1=== Advanced SQL Queries and Reports for Invoices
    22
    3 **1. Report: Total Revenue Generated by Each Company in the Last Year**
     3== 1. Report: Total Revenue Generated by Each Company in the Last Year
    44
    55{{{
     
    1919}}}
    2020
    21 **2. Report: Invoices Issued to Each Client and Their Total Amount**
     21== 2. Report: Invoices Issued to Each Client and Their Total Amount
    2222{{{
    2323SELECT
     
    3535}}}
    3636
    37 **3. Report: List of Overdue Invoices**
     37== 3. Report: List of Overdue Invoices
    3838{{{
    3939SELECT
     
    5454}}}
    5555
    56 **4. Report: Clients with the Highest Invoice Payments**
     56== 4. Report: Clients with the Highest Invoice Payments
    5757{{{
    5858SELECT
     
    7272}}}
    7373
    74 **5. Report: Outstanding Invoices by Each Client**
     74== 5. Report: Outstanding Invoices by Each Client
    7575{{{
    7676SELECT
     
    9090}}}
    9191
    92 **6. Report: Monthly Invoice Revenue**
     92== 6. Report: Monthly Invoice Revenue
    9393{{{
    9494SELECT
     
    103103}}}
    104104
    105 **7. Report: Top 5 Products/Services Sold by Revenue**
     105== 7. Report: Top 5 Products/Services Sold by Revenue
    106106{{{
    107107SELECT
     
    117117}}}
    118118
    119 **8. Report: Invoices with the Most Line Items**
     119== 8. Report: Invoices with the Most Line Items
    120120{{{
    121121SELECT
     
    134134}}}
    135135
    136 **9. Report: Average Time to Payment**
     136== 9. Report: Average Time to Payment
    137137{{{
    138138SELECT
     
    144144}}}
    145145
    146 **10. Report: Invoices with Discounts Applied**
     146== 10. Report: Invoices with Discounts Applied
    147147{{{
    148148SELECT