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

bookChallenge: Extract Email Domains

Oppgave

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

Alt var klart?

Hvordan kan vi forbedre det?

Takk for tilbakemeldingene dine!

Seksjon 1. Kapittel 3
single

single

Spør AI

expand

Spør AI

ChatGPT

Spør om hva du vil, eller prøv ett av de foreslåtte spørsmålene for å starte chatten vår

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

Sveip for å vise menyen

Oppgave

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 desktopBytt til skrivebordet for virkelighetspraksisFortsett der du er med et av alternativene nedenfor
Alt var klart?

Hvordan kan vi forbedre det?

Takk for tilbakemeldingene dine!

Seksjon 1. Kapittel 3
single

single

some-alt