CST 363 Week 2
1. A table titled Store has columns a key name, address, and average_price, a second table titled store budget has columns a key name, and budget join the two tables to show what store matches each budget.
select s.name, s.address, s.average_price, b.name, b.budget
from store s
join budget b
on b.average_price<b.budget;
2. Sql does feel easy to learn and use because many of the key words follow along with how they work in the english language and it feels like I am just writing a sentence when I am writing rather than stringing together individual statements. At the beginning of this week I had a hard time with join queries but the more I have done them the easier it has gotten.
Comments
Post a Comment