sql_HTI_4
sql_HTI_4
…
SELECT last_name "Name" , salary*12 "Annual Salary"
FROM employees;
A concatenation operator:
• Links columns or character strings to other columns
• Is represented by two vertical bars (||)
• Creates a resultant column that is a character expression
SELECT last_name||job_id "Employees"
FROM employees;
FROM departments;
…
SELECT DISTINCT department_id
FROM employees; 2
DESCRIBE employees;
Operator Meaning
= Equal to
> Greater than
>= Greater than or equal to
< Less than
<= Less than or equal to
<> Not equal to
BETWEEN Between two values (inclusive)
...AND...