You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 6, 2024. It is now read-only.
select order_id, sum(quantity * price) as total from prices inner join orders on prices.item_id = orders.item_id group by order_id order by sum(quantity * price)
select order_id, sum(quantity * price) as total from prices inner join orders on prices.item_id = orders.item_id group by order_id order by total
First query overflows stack, second query works.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
select order_id, sum(quantity * price) as total from prices inner join orders on prices.item_id = orders.item_id group by order_id order by sum(quantity * price)
select order_id, sum(quantity * price) as total from prices inner join orders on prices.item_id = orders.item_id group by order_id order by total
First query overflows stack, second query works.
The text was updated successfully, but these errors were encountered: