SQL Data Manipulation Commands

Lakukan tugas rumah & ujian kamu dengan baik sekarang menggunakan Quizwiz!

EXISTS

Checks whether a subquery returns any rows

BETWEEN

Checks whether an attribute value is within a range

LIKE

Checks whether an attribute value matches a given string pattern

IN

Checks whether an attribute value matches any value within a value list

DELETE

Deletes one or more rows from a table

DISTINCT

Limites values to unique values

UPDATE

Modifies an attributes alues in one or more tables rows

GROUP BY

Orders the selected rows based on one or more attributes

ORDER BY

Orders the selected rows based on one or more attributes

COMMIT

Permanently saves data changes

ROLLBACK

Restores data to their originial values

MAX

Returns th emaximum attribute value found in a given column

AVG

Returns the average of all values for a given column

MIN

Returns the minnimum attribute value found in a given column

SUM

Returns the sum of all values for a given column

COUNT

Returns the the number of rows with non-null values for a given column

=, <,>,<=,>=, <>

Used in conditional expressions

IS NULL

checks whether an attribute value is null

INSERT

inserts rows into a table

WHERE

restricts the eslection of rows based on a conditional expression

HAVING

restricts the selection of grouped rows based on a condition

SELECT

selects attributes from rows in one or more tables or views

AND/OR/NOT

used in conditional expressions


Set pelajaran terkait

Bones of the Cranium - Parietal and Frontal

View Set

Chapter 10 - Work, Retirement, and Leisure

View Set

Chapter 1 Speaking Mathematically

View Set

CH 7: Starting Out With C++ CHECKPOINT QUESTIONS

View Set

Business (BUSINESS LEADERSHIP SKILLS)

View Set

Chapters 4,5, & 6 - Mastering A&P

View Set

Principles of Accounting Chapter 9.

View Set

Intro to MicroEcon 247 Unit 2 (chapter 4)

View Set