Help needed on a query
DBAsupport.com Forums - Powered by vBulletin
Results 1 to 2 of 2

Thread: Help needed on a query

  1. #1
    Join Date
    Oct 2007
    Posts
    1

    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?

    Thanks

  2. #2
    Join Date
    Jul 2002
    Location
    Lake Worth, FL
    Posts
    1,441

    Talking



    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