After running this query, what is the result?SELECT vendor_s…

After running this query, what is the result?SELECT vendor_state, vendor_city, vendor_name, COUNT(*) AS invoice_quantity,   SUM(invoice_total) AS invoice_total_overallFROM invoices JOIN vendors   ON invoices.vendor_id = vendors.vendor_idWHERE vendor_state  REGEXP “M”GROUP BY vendor_state, vendor_city, vendor_nameHAVING SUM(invoice_total)

If you run this query, the result table will contain one row…

If you run this query, the result table will contain one row for SELECT i.vendor_id, MIN(i.invoice_total) AS smallest_invoiceFROM invoices i    JOIN      (SELECT vendor_id, AVG(invoice_total) AS average_invoice     FROM invoices     GROUP BY vendor_id     HAVING AVG(invoice_total)