01.Primary Key

Primary key can be defined as a set of one or more fields/columns of a table that uniquely identify a record in database table.

02.select * from database. table;

03.group by

-summarize data by selected fields
false case:
Screen Shot 2020-04-07 at 7.38.17 PM.png
correct:
select zip, max(price)
from Sacramento
group by zip;

04.errors in progarmming

Screen Shot 2020-04-07 at 7.35.53 PM.png

05.*all fields without transformation should be added in group by();

Screen Shot 2020-04-07 at 7.44.34 PM.png

06.having ():filter on grouped data

Screen Shot 2020-04-07 at 7.57.23 PM.png