DEV Community

Cover image for SQL CHEAT SHEET👩‍💻
Sheriff S
Sheriff S

Posted on

1

SQL CHEAT SHEET👩‍💻

SQL is a language used to communicate with databases it stands for Structured Query Language and is used by database administrators and developers alike to write queries that are used to interact with the database. Here is a quick cheat sheet of some of the most essential SQL commands:

SELECT - Retrieves data from a database

UPDATE - Updates existing data in a database

DELETE - Removes data from a database

INSERT - Adds data to a database

CREATE - Creates an object such as a database or table

ALTER - Modifies an existing object in a database

DROP -Deletes an entire table or database

ORDER BY - Sorts the selected data in an ascending or descending order

WHERE – Condition used to filter a specific set of records from the database

GROUP BY - Groups a set of data by a common parameter

HAVING - Allows the use of aggregate functions within the query

JOIN - Joins two or more tables together to retrieve data

INDEX - Creates an index on a table, to speed up search times.

Image of Timescale

🚀 pgai Vectorizer: SQLAlchemy and LiteLLM Make Vector Search Simple

We built pgai Vectorizer to simplify embedding management for AI applications—without needing a separate database or complex infrastructure. Since launch, developers have created over 3,000 vectorizers on Timescale Cloud, with many more self-hosted.

Read more →

Top comments (0)

Image of Docusign

🛠️ Bring your solution into Docusign. Reach over 1.6M customers.

Docusign is now extensible. Overcome challenges with disconnected products and inaccessible data by bringing your solutions into Docusign and publishing to 1.6M customers in the App Center.

Learn more