Unit 2 Flashcards
SQL requires the use of the INSERT command to enter data into a table.
Inserting rows
command is used to list the contents of a table
Select statements
is a set-oriented command
DELETE
To add multiple rows to a table, using another table as the source of the data
INSERT
standard SQL allows the use of special operators in conjunction with the WHERE clause
ANSI
Used to check whether an attribute value is within a range
BETWEEN
Used to check whether an attribute value is null
IS NULL
Used to check whether an attribute value matches a given string pattern
LIKE
Used to check whether an attribute value matches any value within a value list
IN
Used to check whether a subquery returns any rows
EXISTS
means any and all following or preceding characters are eligible
%
means any single character may be substituted
_
means any single character within a range or a set (sql server)
[]
means any single character NOT within a range or a set. (sql server)
[^]
means any single character within a range or a set (mysql)
REGEXP []