Java Games: Flashcards, matching, concentration, and word search.

Basic SQL Keywords

These are just some keywords used in SQL that every beginner should know. Enjoy!

AB
SELECTKeyword in SQL that selects all or some of the columns in a table
WHEREKeyword that restricts the rows coming back in a SQL query
FROMKeyword that tells the database which table to pull the data out of for query
Asterisk (*)Symbol used to select all columns for a table
SUMAggregate function that give the sum of that particular column
ASKeyword that allows the user to alias a column name
COUNTAggregate function that allows the user to count all the rows in a particular column or table
DatabaseA collection of tables
LIKEWildcard string operator for the WHERE clause (allows users to search by a certain letter, number or part of a word)
GROUP BYGroups rows together for aggregate functions (Count, SUM, AVG)
HAVINGKeyword that filters group by statements like WHERE does for SELECT
DMLData Manipulation Language, (insert, update, delete)
DDLData Definition Language (Alter, Create, Drop)
DCLData Control Language (Grant, Revoke)
INSERTAdds a new record to the table
UPDATEModifies a record in a table
=Single operator, needs to equal the data exactly in order to bring back information
INUsed in the where clause, can ask for multiple values to be brought back from table
ANDLogical operator where both conditions need to be true
ORLogical operator where only ONE of the conditions needs to be true


Jennifer Fogarty

This activity was created by a Quia Web subscriber.
Learn more about Quia
Create your own activities