Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lära Challenge: Extract Email Domains | String Functions
Practice
Projects
Quizzes & Challenges
Quizzes
Challenges
/
Functions in SQL

bookChallenge: Extract Email Domains

Uppgift

Swipe to start coding

Write a query to extract the domain part of each customer's email address from the customers table.

  • Select the id, name, and email columns.
  • Extract the substring from the email column that comes after the "@" character and name it domain.
  • Return one row per customer.

Lösning

Var allt tydligt?

Hur kan vi förbättra det?

Tack för dina kommentarer!

Avsnitt 1. Kapitel 3
single

single

Fråga AI

expand

Fråga AI

ChatGPT

Fråga vad du vill eller prova någon av de föreslagna frågorna för att starta vårt samtal

Suggested prompts:

Can you explain this in simpler terms?

What are the main benefits or drawbacks?

Can you give me a real-world example?

close

bookChallenge: Extract Email Domains

Svep för att visa menyn

Uppgift

Swipe to start coding

Write a query to extract the domain part of each customer's email address from the customers table.

  • Select the id, name, and email columns.
  • Extract the substring from the email column that comes after the "@" character and name it domain.
  • Return one row per customer.

Lösning

Switch to desktopByt till skrivbordet för praktisk övningFortsätt där du är med ett av alternativen nedan
Var allt tydligt?

Hur kan vi förbättra det?

Tack för dina kommentarer!

Avsnitt 1. Kapitel 3
single

single

some-alt