SQL queries

PHOTO EMBED

Fri Nov 03 2023 04:28:43 GMT+0000 (Coordinated Universal Time)

Saved by @cruz

SELECT is the clause we use every time we want to query information from a database.
AS renames a column or table.
DISTINCT return unique values.
WHERE is a popular command that lets you filter the results of the query based on conditions that you specify.
LIKE and BETWEEN are special operators.
AND and OR combines multiple conditions.
ORDER BY sorts the result.
LIMIT specifies the maximum number of rows that the query will return.
CASE creates different outputs.
content_copyCOPY

https://www.youtube.com/watch?v=gQ58W7v8qyA&ab_channel=Codecademy