Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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



Query to select passwords from a table having a column "Password" Whose length is b/w 8 &..

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

Query to select passwords from a table having a column "Password" Whose length is b/w 8 &..

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

Query to select passwords from a table having a column "Password" Whose length is b/w 8 &..

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

Post New Answer

More MySQL Interview Questions

What does the file with the extension: frm, myd, and myi contain?

0 Answers  


how you will show all records not containing the name "sonia" and the phone number '9876543210' order by the phone_number field.

0 Answers  


How do you start and stop MySQL on Windows?

3 Answers  


What is pragma autonomous_transaction?

0 Answers  


What is the innodb in mysql?

0 Answers  


How do I switch users in mysql?

0 Answers  


What is a result set object?

0 Answers  


How do I create a schema in mysql?

0 Answers  


What is pdo in mysql?

0 Answers  


How to add a new column to an existing table in mysql?

0 Answers  


Where’s database data actually stored? Is there a way to see the files which are stored?

0 Answers  


What is the difference between mysql and oracle?

0 Answers  


Categories