Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Apprendre Challenge: Extract Email Domains | String Functions
Functions in SQL

bookChallenge: Extract Email Domains

Tâche

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.

Solution

Tout était clair ?

Comment pouvons-nous l'améliorer ?

Merci pour vos commentaires !

Section 1. Chapitre 3
single

single

Demandez à l'IA

expand

Demandez à l'IA

ChatGPT

Posez n'importe quelle question ou essayez l'une des questions suggérées pour commencer notre discussion

close

bookChallenge: Extract Email Domains

Glissez pour afficher le menu

Tâche

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.

Solution

Switch to desktopPassez à un bureau pour une pratique réelleContinuez d'où vous êtes en utilisant l'une des options ci-dessous
Tout était clair ?

Comment pouvons-nous l'améliorer ?

Merci pour vos commentaires !

Section 1. Chapitre 3
single

single

some-alt