Assessment Task 3
Assessment Task 3
TRUE
FALSE
3. There are four coding errors in the following statement. Can you identify them?
4. Create a select statement that will display the last_name, First_name of employees under
department IT_Prog.
WHERE clause
The WHERE clause is used to filter records. It is used to extract only those records that
fulfill a specified condition.
Condition
Comparison Conditions
Between Condition
The BETWEEN operator selects values within a given range. The values can be numbers,
text, or dates. The BETWEEN operator is inclusive: begin and end values are included.
In Condition
Like Condition
The SQL LIKE condition allows you to use wildcards to perform pattern matching in a
query. The LIKE condition is used in the WHERE clause of a SELECT, INSERT,
UPDATE, or DELETE statement.
Logical Condition
A logical condition combines the results of two component conditions to produce a single
result based on them or to invert the result of a single condition.
Describe
DESCRIBE means to show the information in detail. Since we have several tables in our
SQL Server database, we will need a command to show a table's structure, such as
column names, data types, constraints on column names, etc.