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

ORDER BY

StarStarStarStar

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

StarStarStarStar

HAVING

StarStarStarStar

Filter groups created by GROUP BY based on aggregate conditions.

StarStarStarStar

FULL JOIN

StarStarStarStar

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

StarStarStarStar

DROP TABLE

StarStarStarStar

Delete a table and its data from the database.

StarStarStarStar

MIN

StarStarStarStar

Find the smallest value in a column.

StarStarStarStar

JOIN

StarStarStarStar

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

StarStarStarStar

UNION

StarStarStarStar

Combine the result sets of two or more SELECT statements.

StarStarStarStar

LIMIT

StarStarStarStar

Constrain the number of rows returned by a query.

StarStarStarStar

INNER JOIN

StarStarStarStar

Select records that have matching values in both tables.

StarStarStarStar

LEFT JOIN

StarStarStarStar

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

StarStarStarStar

IN

StarStarStarStar

Specify multiple possible values for a column.

StarStarStarStar

UPDATE

StarStarStarStar

Modify existing data within a table.

StarStarStarStar

INSERT INTO

StarStarStarStar

Add new data into a table.

StarStarStarStar

CREATE TABLE

StarStarStarStar

Create a new table in the database.

StarStarStarStar

INDEX

StarStarStarStar

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

StarStarStarStar

SUM

StarStarStarStar

Calculate the sum of a set of values.

StarStarStarStar

SELECT

StarStarStarStar

Retrieve data from one or more tables.

StarStarStarStar

ALTER TABLE

StarStarStarStar

Modify the structure of an existing table.

StarStarStarStar

DISTINCT

StarStarStarStar

Return only distinct (different) values.

StarStarStarStar

EXISTS

StarStarStarStar

Test for the existence of any record in a subquery.

StarStarStarStar

DELETE

StarStarStarStar

Remove existing data from a table.

StarStarStarStar

GROUP BY

StarStarStarStar

Group rows that have the same values in specified columns.

StarStarStarStar

CASE

StarStarStarStar

Provide conditional logic within SQL queries.

StarStarStarStar

WHERE

StarStarStarStar

Filter results of a query based on conditions.

StarStarStarStar

AVG

StarStarStarStar

Calculate the average value of a set of values.

StarStarStarStar

RIGHT JOIN

StarStarStarStar

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

StarStarStarStar

UNION ALL

StarStarStarStar

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

StarStarStarStar

MAX

StarStarStarStar

Find the largest value in a column.

StarStarStarStar

LIKE

StarStarStarStar

Search for a specified pattern in a column.

StarStarStarStar

COUNT

StarStarStarStar

Count the number of rows that match a specified condition.

Know
0
Still learning
Click to flip
Know
0
Logo

© Hypatia.Tech. 2024 All rights reserved.