Y
Hacker News
new
|
ask
|
show
|
jobs
by
withinboredom
975 days ago
If you just need customer id and order id (and nothing from the original orders table), you can simplify it further
http://sqlfiddle.com/#!15/7eb3a/10