select name
from Track
where Milliseconds = (
select max(Milliseconds)
from Track);
select name
from Track
where Milliseconds = (
select min(Milliseconds)
from Track);
select name
from track
where trackid not in (
select t.trackid
from Track as T, InvoiceLine as I
where t.trackid = I.trackid);
select invoiceID, sum(UnitPrice * Quantity)
from InvoiceLine
group by InvoiceID
order by sum(UnitPrice * Quantity)
desc Limit 1;
select DISTINCT Customer.firstname, customer.lastname
from customer, Invoice, Invoiceline
where Customer.CustomerID = Invoice.CustomerID AND
Invoice.InvoiceID = InvoiceLine.InvoiceID AND
Invoice.InvoiceID = (
select invoiceID
from InvoiceLine
group by InvoiceID
order by sum(UnitPrice * Quantity)
desc Limit 1);