Conditional statements part 1
Sometimes we would like to fetch records that meet a certain condition.
For example
To add condition we can use the WHERE keyword
sales
To fetch all of the records with the coin "AGK" we will write:
SELECT * FROM sales WHERE coin = "AGK"
To fetch all of the records with amount smaller than 20 we will write:
SELECT * FROM sales WHERE amount < 20