Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 3 of 3

Thread: table comparison

  1. #1
    Junior Member
    Join Date
    Oct 2010
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default table comparison

    TABLE 1 TABLE 2
    column 1 column 2 column 3 column 1 column 2 column 3
    1 10 A 22 25 A
    2 20 B 25 25 B
    3 30 G 17 25 C
    4 15 F 19 17 A
    5 17 A 33 17 B
    6 17 B 1 17 K
    7 25 D 7 33 K
    8 25 A 5 40 M
    9 25 B 20 15 F
    10 25 C 23 23 J
    11 33 K 24 47 D
    12 40 M 15 10 A
    13 15 N 29 20 B
    14 23 J 30 30 G
    15 47 D 31 19 D


    In these two, Table 1 and Table 2 we have three column in each table. The goal is to compare column 2 and 3 in Table 1 with column 2 & 3 in table 2.
    You can ignore column 1 in both tables. In the table, table 2 is not having (25 and C) on excel line 12, likewise Table 1 is not having (17 & K) on excel line 8.
    i need the java code to solve this table matching.


  2. #2
    Crazy Cat Lady KevinWorkman's Avatar
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    5,424
    My Mood
    Hungover
    Thanks
    144
    Thanked 636 Times in 540 Posts

    Default Re: table comparison

    Quote Originally Posted by awecode View Post
    i need the java code to solve this table matching.
    That's not how this works. What have you tried? Where are you stuck? What's your question?

    Post a short piece of runnable code that demonstrates what you've tried and where you're stuck, and we'll go from there.

  3. #3
    Crazy Cat Lady KevinWorkman's Avatar
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    5,424
    My Mood
    Hungover
    Thanks
    144
    Thanked 636 Times in 540 Posts

    Default Re: table comparison

    Crossposted: table comparison - Java Forums

Similar Threads

  1. how to insert the value to table in form
    By palani in forum AWT / Java Swing
    Replies: 4
    Last Post: September 3rd, 2010, 12:23 PM
  2. Need help with array comparison
    By raidcomputer in forum Collections and Generics
    Replies: 4
    Last Post: November 17th, 2009, 01:55 PM
  3. Array comparison
    By subhvi in forum Collections and Generics
    Replies: 5
    Last Post: September 3rd, 2009, 03:56 AM
  4. Replies: 2
    Last Post: July 8th, 2009, 06:35 AM
  5. Getting table height using JSTL
    By jsnx7 in forum JavaServer Pages: JSP & JSTL
    Replies: 1
    Last Post: March 19th, 2009, 12:03 PM