DBAsupport.com Forums - Powered by vBulletin
Results 1 to 2 of 2
  1. #1
    Join Date
    Oct 2007

    Help needed on a query

    Hi Everyone

    I have 2 tables

    1. Ships(name,country)
    2. Battles(ship,battlename)

    I would need to find out which country fought against each other in battles and the result should list pair of countries that fought against each other and each pair should be displayed only once.

    Any ideas on how to do this?


  2. #2
    Join Date
    Jul 2002
    Lake Worth, FL


    You must first study your SQL book and try coding a solution, then maybe someone will help you out in debugging your homework.

    "The person who says it cannot be done should not interrupt the person doing it." --Chinese Proverb

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Click Here to Expand Forum to Full Width

We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.