Quotes help make search much faster. Example: "Practice Makes Perfect"

Friday, May 5, 2017

Codecademy SQL SpeedySpoon Exercise 7


select name, round(sum(amount_paid) /
  (select sum(amount_paid) from order_items) * 100.0, 2) as pct
from order_items
group by 1
order by 2 desc;

No comments:

Post a Comment


This is an example of scrolling text using Javascript.

Popular Posts