ComeçarComece gratuitamente

Esquerda e direita

Podemos recuperar partes de uma string a partir do início dela usando LEFT, ou começar pelo final da string usando RIGHT.

Este exercício faz parte do curso

Introdução ao SQL Server

Ver Curso

Exercício interativo prático

Experimente este exercício preenchendo este código de exemplo.

-- Select the first 25 characters from the left of the description column
SELECT 
  ___(description, ___) AS ___ 
FROM 
  grid;
Editar e executar código