right

Description

Syntax

‘VARCHAR RIGHT (VARCHAR STR)’

It returns the right part of a string of specified length

example

  1. mysql> select right("Hello doris",5);
  2. +-------------------------+
  3. Right ('Hello doris', 5)'1244;
  4. +-------------------------+
  5. 1.2.2.2.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.
  6. +-------------------------+

keyword RIGHT