Query to select passwords from a table having a column
"Password" Whose length is b/w 8 &15 and having 'A' as the
first character in the password irrespective of case.
Answers were Sorted based on User's Feedback
Answer / mdeva
SELECT Password
FROM tablename
WHERE Password LIKE 'A%'
AND Length( Password) >=8
AND Length( Password) <=15
Is This Answer Correct ? | 15 Yes | 3 No |
Answer / owais masood
select password from tablename
where (password like "A%" AND length(password) between 8 and
15) OR
(password like "a%" AND length(password) between 8 and 15)
Is This Answer Correct ? | 12 Yes | 0 No |
Answer / sonali
select password from tablename
where password like 'a%'
and length(password) between 8 and 15
Is This Answer Correct ? | 2 Yes | 1 No |
Why mysql is used with php?
Explain advantages of MyISAM over InnoDB?
How to display top 50 rows?
What are the column comparisons operators?
What is mysql root?
How do I start and stop mysql server?
how to display only 4 records from a table based on a condition for ex i have a table called products in that nid,prodname are fields i want to display only any 4 records of perticular product plz tell me
How to make a column bigger and delete unique from table.
Why do we use pragma autonomous transaction?
How to drop an existing view in mysql?
How do I view mysql logs?
What is 'mysqlshow'?