MySQL Forums
Forum List  »  Newbie

Query to show all names starting with "M,K,C OR J"
Posted by: Moussa Seck
Date: November 03, 2007 01:13PM

I'am trying to produce the subject line query.
I'am only getting the names with M.
Thanks.

SELECT Ename, LENGTH(Ename)
FROM Employee
WHERE Ename LIKE 'M%'OR 'K%'OR'C%'OR'J%';

Options: ReplyQuote


Subject
Written By
Posted
Query to show all names starting with "M,K,C OR J"
November 03, 2007 01:13PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.