Logo
Pattern

Discover published sets by community

Explore tens of thousands of sets crafted by our community.

SQL Commands

30

Flashcards

0/30

Still learning
StarStarStarStar

LEFT JOIN

StarStarStarStar

Select all records from the left table, and matched records from the right table.

StarStarStarStar

RIGHT JOIN

StarStarStarStar

Select all records from the right table, and matched records from the left table.

StarStarStarStar

UPDATE

StarStarStarStar

Modify existing data within a table.

StarStarStarStar

CREATE TABLE

StarStarStarStar

Create a new table in the database.

StarStarStarStar

LIMIT

StarStarStarStar

Constrain the number of rows returned by a query.

StarStarStarStar

SELECT

StarStarStarStar

Retrieve data from one or more tables.

StarStarStarStar

INSERT INTO

StarStarStarStar

Add new data into a table.

StarStarStarStar

DELETE

StarStarStarStar

Remove existing data from a table.

StarStarStarStar

FULL JOIN

StarStarStarStar

Select all records when there is a match in either left or right table.

StarStarStarStar

UNION

StarStarStarStar

Combine the result sets of two or more SELECT statements.

StarStarStarStar

AVG

StarStarStarStar

Calculate the average value of a set of values.

StarStarStarStar

EXISTS

StarStarStarStar

Test for the existence of any record in a subquery.

StarStarStarStar

LIKE

StarStarStarStar

Search for a specified pattern in a column.

StarStarStarStar

JOIN

StarStarStarStar

Combine rows from two or more tables, based on a related column.

StarStarStarStar

DISTINCT

StarStarStarStar

Return only distinct (different) values.

StarStarStarStar

ORDER BY

StarStarStarStar

Sort the results of a query in ascending or descending order.

StarStarStarStar

INDEX

StarStarStarStar

Create an index on one or more columns to improve query performance.

StarStarStarStar

ALTER TABLE

StarStarStarStar

Modify the structure of an existing table.

StarStarStarStar

WHERE

StarStarStarStar

Filter results of a query based on conditions.

StarStarStarStar

CASE

StarStarStarStar

Provide conditional logic within SQL queries.

StarStarStarStar

MIN

StarStarStarStar

Find the smallest value in a column.

StarStarStarStar

DROP TABLE

StarStarStarStar

Delete a table and its data from the database.

StarStarStarStar

COUNT

StarStarStarStar

Count the number of rows that match a specified condition.

StarStarStarStar

GROUP BY

StarStarStarStar

Group rows that have the same values in specified columns.

StarStarStarStar

UNION ALL

StarStarStarStar

Combine the result sets of two or more SELECT statements, including duplicates.

StarStarStarStar

SUM

StarStarStarStar

Calculate the sum of a set of values.

StarStarStarStar

IN

StarStarStarStar

Specify multiple possible values for a column.

StarStarStarStar

HAVING

StarStarStarStar

Filter groups created by GROUP BY based on aggregate conditions.

StarStarStarStar

INNER JOIN

StarStarStarStar

Select records that have matching values in both tables.

StarStarStarStar

MAX

StarStarStarStar

Find the largest value in a column.

Know
0
Still learning
Click to flip
Know
0
Logo

© Hypatia.Tech. 2024 All rights reserved.