Oracle: List the names of those employees whose name starts with A
Oracle Wildcard special Operator: Exercise-1 with Solution
Write a query to list the names (first and last) of those employees whose name starts with A.
Sample table : employees
Sample Solution:
Oracle Code:
SELECT first_name, last_name
FROM employees
WHERE first_name LIKE 'A%';
Output:
FIRST_NAME LAST_NAME -------------------- ------------------------- Amit Banda Alexis Bull Anthony Cabrio Alberto Errazuriz Adam Fripp Alexander Hunold Alyssa Hutton Alexander Khoo Allan McEwen Alana Walsh 10 rows selected.
Pictorial Presentation:
Improve this sample solution and post your code through Disqus.
Previous: Oracle Wildcard special Operators
Next: Write a query to list the names (first and last) of those employees whose last name ends with a.
What is the difficulty level of this exercise?
It will be nice if you may share this link in any developer community or anywhere else, from where other developers may find this content. Thanks.
https://w3resource.com/oracle-exercises/wildcard-special-operators/oracle-wildcard-special-operators-exercise-1.php
- Weekly Trends and Language Statistics
- Weekly Trends and Language Statistics