Created
October 15, 2016 13:44
-
-
Save gabidavila/77f4f441ad163c0df38b8eaaff7e7703 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT | |
`id`, | |
`order_id`, | |
`product_id`, | |
`product_price`, | |
`quantity`, | |
`product_price` * `quantity` AS total_item_price | |
FROM `orders_items` | |
LIMIT 5; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment