basic sql query structure/syntax for beginners
# Select command is use to choose the columns in the table you want to query.
# Eg. of writing column name: table_name.column_name
# * means all. It selects all the columns in the table.
SELECT
*
# FROM command is use select the database and table that you want to query.
# Eg. of writing table name: database_name.table_name
# Depending on the situation, it you may not need to include the database_name.
FROM
database_name.table_name
# WHERE command is use to state any conditions you want the query to meet. It can be omited if not needed.
WHERE
column_name == 5