DO NOT USE THIS INSTANCE FOR LIVE DATA!!!!
Phoenix uses SUBSTR whereas the ANSI SQL-92 standard is SUBSTRING. http://savage.net.au/SQL/sql-92.bnf.html