If we want the last five characters of the serial ID, which represent manufacturing sequence number, another substring can be accessed.
SELECT make, SUBSTRING (sn FROM 11) AS sequence FROM autos WHERE SUBSTRING (sn FROM 3 FOR 3) = 'USA';
If we want the last five characters of the serial ID, which represent manufacturing sequence number, another substring can be accessed.
SELECT make, SUBSTRING (sn FROM 11) AS sequence FROM autos WHERE SUBSTRING (sn FROM 3 FOR 3) = 'USA';