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 1035381
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T14:32:02+00:00 2026-05-16T14:32:02+00:00

am a newbie to Oracle/PL SQL.I’ve 2 tables A and B. A has a

  • 0

am a newbie to Oracle/PL SQL.I’ve 2 tables A and B.
A has a column CustId,Age,Location and Date. Table B has 2 columns CustId,CustName.

What would be the sql query to show show CustName and Location for a given age?

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-05-16T14:32:03+00:00Added an answer on May 16, 2026 at 2:32 pm

    your question “What would be the sql query to show show CustName and Location for a given age?” helps define your query pretty well:

    SELECT CustName, Location
    FROM TableA a
    INNER JOIN TableB b
    ON b.CustId = a.CustId
    
    WHERE a.Age = #
    

    All we need to do on top of that select for your specific fields is make sure to join the two tables on their common column (CustID).

    Another option would be to avoid the WHERE statement:

    SELECT CustName, Location
    FROM TableB b
    INNER JOIN TableA a
    ON a.CustID = b.CustID
    AND a.Age = #
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i'm a pl/sql newbie. now i have a question about oracle type . i
I am a complete SQL Server newbie but I have experience with Oracle and
* Newbie Alert * I have an AdvancedDataGrid with 5 columns. The second column,
Oracle Newbie Here: I just started out creating my first Oracle database table. I
I'm a newbie when it comes to SQL. When creating a stored procedure with
It might be a newbie question, but still.. We are all familiar with Oracle's
I really hope would know how to do this cause I'm a total newbie
I'm very newbie for Oracle and very not sure about Oracle. one question I
Newbie with databases, I would like some advise please.. I have agencies who can
Newbie Regex question / C#: Consider (.*)=(.*) and how it would match A =

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.