Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8694695
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T00:50:45+00:00 2026-06-13T00:50:45+00:00

its easier selecting a row whose value is between given number. But I m

  • 0

its easier selecting a row whose value is between given number. But I m having no luck to figure out this-

I have a table in which there are two fields min_age and max_age. How to return all rows when given value lies between min_age and max_age

P.S. I m still a newbie in sql, please forgive me if this sounds too silly.

Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T00:50:46+00:00Added an answer on June 13, 2026 at 12:50 am
    SELECT *
    FROM `tbl`
    WHERE 35 BETWEEN `min_age` AND `max_age`;
    

    That ought to do it. Of course, I used 35. You can use any other value instead.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I use blend a lot but sometimes I find its easier to make a
Interview question- Often its pretty easier to debug a program once you have trouble
It's easier to explain by picture. Sorry for the censoring. In this screen there
I wrote the question as a comment in the code, I think its easier
The following question is regarding the speed between selecting an exact match (example: INT)
-- EDIT -- Worth to point out. While having a problem with different homework
Struggling to figure out how to Over-Ride the __init__() method in my Django Form
I'm not even sure I'm asking or going about this the right way but
I have a bunch of forms where its easier to type the entire html
Somewhat confusing so its easier if I put down example and expected output to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.