Write a postgre sql query to display the first name, last name for the employees, which contain a letter 'C' to their last name at 3rd or greater position
Write a postgre sql query to display the first name, last name for the employees, which contain a letter 'C' to their last name at 3rd or greater position.
Sample table: employees
Output:
pg_exercises=# SELECT first_name, last_name pg_exercises-# FROM employees pg_exercises-# WHERE POSITION('C' IN last_name) > 2; first_name | last_name ------------+----------- Samuel | McCain (1 row)need an explanation for this answer? contact us directly to get an explanation for this answer