Last active
June 26, 2020 02:52
-
-
Save deanjamesss/6a16dcbbf82387f014e8ff6057a755f2 to your computer and use it in GitHub Desktop.
Select-From-Where
This file contains hidden or 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 p.item_name as product_title, | |
| p.cost as cost_price, | |
| p.units as unit_count, | |
| p.cost * p.units as inventory_cost | |
| from product p | |
| where p.type in ('storage', 'cables') | |
| and p.item_name like '%USB%' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment