sql - get first letter of string, disregarding "the" -


i trying list of book titles begin letter. however, need disregard "the" @ beginning of title. instance, when i'm looking titles begin "a", query should return both "the alamo" , "american history".

how can this?

use

where case when substr(title, 1, 4) = 'the ' substr(title, 5) else title end '...' 

in query, or use patterns.


Popular posts from this blog

How to calculate SNR of signals in MATLAB? -

c# - Attempting to upload to FTP: System.Net.WebException: System error -

ios - UISlider customization: how to properly add shadow to custom knob image -