SQL Query

2505 pts.
Tags:
AS/400
I have a file which has a account number and name. I want to find all those account number which has more than one name. How will the query looks like

Software/Hardware used:
As400

Answer Wiki

Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Discuss This Question: 5  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • TomLiotta
    There are multiple possibilities. What OS release are you working with? Capabilities change with different releases. -- Tom
    125,585 pointsBadges:
    report
  • RamvishakRamesh
    v5r4. This is a one time query which I can put in STRSQL
    2,505 pointsBadges:
    report
  • BigKat
    As this could be a homework type of question, lets start with a hint. HINT: think about using COUNT() in the select and a HAVING clause
    8,210 pointsBadges:
    report
  • RamvishakRamesh
    :) got it..
    2,505 pointsBadges:
    report
  • BigKat
    glad I could help point you in the right direction BigKat
    8,210 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following