Quick Ref.
Compatibility
LEFT(s, i)
Engine OK Alternative
ingres yes
mysql yes
oracle no SUBSTR(s , 1 , i)
postgres no SUBSTRING(s , 1 , i)
sqlserver yes

LEFT

LEFT(s,n) allows you to extract n characters from the start of the string s.

 LEFT('Hello world', 4) -> 'Hell' 

Results
See also: