Midterm in Load Testing
Midterm in Load Testing
The SQL data manipulation language (DML) is used to query and modify
database data.
DDL statements are used to build and modify the structure of your tables and
other objects in the database.
Full outer join: specifies that if a row from either table does not match the
selection criteria
Group by: used to create one output row per each group and produces
summary values for the selected columns
ACLC College Tacloban
Real Street Tacloban City
Inner join: connects two tables on a column with the same data type
Left outer join: specifies that all left outer rows be returned
Right outer join: includes all rows from the right table that did not meet the
condition specified
Text and image functions: performs operations on text and image data
Update statement: changes data in existing rows either by adding new data or
modifying existing data
Wildcard: allows the user to match fields that contain certain letters.
SELECT Statement or command, allows the user to extract data from tables, based on
specific criteria. It is processed according to the following sequence:
SELECT statement is to generate an employee phone list from the Employees table as
follows:
Or
Output
OUTPUT
Sometimes you might want to focus on a portion of the Employee table, such as
only CITY that is from TACLOBAN. In this condition, you would use the SELECT statement
with the WHERE criterion, i.e., WHERE CITY = ‘TACLOBAN.
to limit record selection with the WHERE criterion using BETWEEN. Each of these
examples give the same results for store items with between 20 and 50 items in stock.
WHERE AGE BETWEEN 22 and 23 ORDER BY LASTNAME DESC (includes the 21 and 19)
Any single character within the specified range (e.g., [a-f]) or set
[] (e.g., [abcdef])
Any single character not within the specified range (e.g., [^a – f])
[^] or set (e.g., [^abcdef])
ACLC College Tacloban
Real Street Tacloban City
In example #1, LIKE ‘DU%’ searches for all last names that begin
with the letters “DU” (e.g., DURAN).
For example #2: LIKE ‘%AN’ searches for all last names that end with the letters
“AN” (e.g., UYKIMAN, DURAN).
In, example #3: LIKE ‘%RA%’ searches for all last names that have the letters
“RA” (e.g., BARACIAL, DURAN,).