Hello,
I'm trying to output my database by column 'CompanyName' in alphabetical order. Too simple. Now, here's the kicker, I want to start not from A, but from a predetermined letter, say L and have it loop back around to K.
Is this possible with just an SQL query? Or do I have to write a whole program for this.
I've tried
WHERE...BETWEEN 'L' AND 'K'
--and--
WHERE ... LIKE '[l-k%]'
(doesn't find anything of course) I am just not figuring this out. Thanks in advance for your help.
I'm trying to output my database by column 'CompanyName' in alphabetical order. Too simple. Now, here's the kicker, I want to start not from A, but from a predetermined letter, say L and have it loop back around to K.
Is this possible with just an SQL query? Or do I have to write a whole program for this.
I've tried
WHERE...BETWEEN 'L' AND 'K'
--and--
WHERE ... LIKE '[l-k%]'
(doesn't find anything of course) I am just not figuring this out. Thanks in advance for your help.