Write a postgre sql query to join the text '@example.com' with the email column.
Sample Output :
EMAIL
--------------------
SKING@example.com
NKOCHHAR@example.com
LDEHAAN@example.com
AHUNOLD@example.com
BERNST@example.com
DAUSTIN@example.com
VPATABAL@example.com
DLORENTZ@example.com
NGREENBE@example.com
- - - - - - - - - - -
- - - - - - - - - - -
Sample table: employees
Output:
Here is the command to see the updated result:
postgres=# SELECT * from emp; employee_id | first_name | last_name | email | phone_number | -------------+-------------+-------------+---------------------------+--------------------+- 100 | Steven | King | SKING@example.com | 515.123.4567 | 101 | Neena | Kochhar | NKOCHHAR@example.com | 515.123.4568 | 102 | Lex | De Haan | LDEHAAN@example.com | 515.123.4569 | 103 | Alexander | Hunold | AHUNOLD@example.com | 590.423.4567 | 104 | Bruce | Ernst | BERNST@example.com | 590.423.4568 | 105 | David | Austin | DAUSTIN@example.com | 590.423.4569 | 106 | Valli | Pataballa | VPATABAL@example.com | 590.423.4560 | 107 | Diana | Lorentz | DLORENTZ@example.com | 590.423.5567 | 114 | Den | Raphaely | DRAPHEAL@example.com | 515.127.4561 | 115 | Alexander | Khoo | AKHOO@example.com | 515.127.4562 | 116 | Shelli | Baida | SBAIDA@example.com | 515.127.4563 | 117 | Sigal | Tobias | STOBIAS@example.com | 515.127.4564 | 118 | Guy | Himuro | GHIMURO@example.com | 515.127.4565 | 119 | Karen | Colmenares | KCOLMENA@example.com | 515.127.4566 | 120 | Matthew | Weiss | MWEISS@example.com | 650.123.1234 | ...need an explanation for this answer? contact us directly to get an explanation for this answer