Results 1 to 7 of 7

Thread: How to display or query this?

Hybrid View

  1. #1

    Thread Starter
    Member
    Join Date
    Aug 2010
    Posts
    53

    Re: How to display or query this?

    Quote Originally Posted by funkydexter View Post
    i think you just want:-
    Code:
    select s.itemno, i.itemname, s.itemid, s.qty
    from structure s
    inner join table1 i
       on s.itemno = i.itemno
    yeah almost but,,,,, it show the item name of column1 it should be the item name of column 2 sir...

    Thanks anyway.. But i need more little help

  2. #2
    Super Moderator FunkyDexter's Avatar
    Join Date
    Apr 2005
    Location
    An obscure body in the SK system. The inhabitants call it Earth
    Posts
    7,957

    Re: How to display or query this?

    I'm sorry but I don't know what that means. It's showing the name of the item, taken from the item table. Can you be clearer in what you're trying to achieve?

    From looking at your posts I'm not sure I'm understanding your data structure properly. I assume the Item No in your structure table is a foreign key to the Item No in your Item table. Is that right? If not can you explain clearly how your two tables are related.

    Also, you've now created 3 separate threads related to this query (actually one's about inserting rather than deleting but it's all part of the same discussion I think). Please could you not do that. It makes it hard pull together all the details of what you're asking and therefore hard to give you an answer. Generally we'd ask that you only create a single thread for a question and only create a second thread if you've got a question that's substantially different. Thanks.
    The best argument against democracy is a five minute conversation with the average voter - Winston Churchill

    Hadoop actually sounds more like the way they greet each other in Yorkshire - Inferrd

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