IniziaInizia gratis

Leader specific functions

Leader nodes have special functions that run only on them, a common source of errors. For example, you should always use the SUBSTRING function and avoid SUBSTR. Let's experiment and see why.

Questo esercizio fa parte del corso

Introduction to Redshift

Visualizza il corso

Esercizio pratico interattivo

Prova a risolvere questo esercizio completando il codice di esempio.

-- Use SUBSTR on 'datacamp' starting at 4 as extract
SELECT ___('___', ___) AS ___;
Modifica ed esegui il codice