Welcome to SPN

Register and Join the most happening forum of Sikh community & intellectuals from around the world.

Sign Up Now!
  1.   Become a Supporter    ::   Make a Contribution   
    Target (Recurring Monthly): $200 :: Achieved: $98

Howto view fields via query from table which have id's to other tables

Discussion in 'Information Technology' started by Danny, Nov 15, 2005.

  1. Danny

    Danny
    Expand Collapse
    Guest

    I have a simple table of a serialnumber, product and 'product used by'
    fields. The product ussed by field has an id to another table of
    users. I want to query all serialnumbers, products and update which
    user used them. How do I view all fields?
    Thank you
     
  2. Loading...

    Similar Threads Forum Date
    Ashdoc's Movie Review---Anarkali Of Arrah Theatre, Movies & Cinema Friday at 10:06 PM
    Ashdoc's Movie Review---Beauty And The Beast Theatre, Movies & Cinema Monday at 12:47 AM
    Ashdoc's Movie Review---Kong ; Skull Island Theatre, Movies & Cinema Mar 13, 2017
    Ashdoc's Movie Review---Split Theatre, Movies & Cinema Feb 28, 2017
    Ashdoc's Movie Review---The Ghazi Attack Theatre, Movies & Cinema Feb 21, 2017

  3. Arvin Meyer [MVP]

    Arvin Meyer [MVP]
    Expand Collapse
    Guest

    Use a Join on the 2 tables on the "product used by" field. Sort by the
    username or ID to get the same ones together. Something like:

    SELECT SerialNumber, Product, LastName, FirstName
    FROM Products INNER JOIN Orders ON Users.EmployeeID = Products.EmployeeID
    ORDER BY EmployeeID;
    --
    Arvin Meyer, MCP, MVP
    Microsoft Access
    Free Access downloads
    http://www.datastrat.com
    http://www.mvps.org/access


    "Danny" <daneel.marais@spectra-medic.co.za> wrote in message
    news:1131961888.154387.94940@o13g2000cwo.googlegroups.com...
    > I have a simple table of a serialnumber, product and 'product used by'
    > fields. The product ussed by field has an id to another table of
    > users. I want to query all serialnumbers, products and update which
    > user used them. How do I view all fields?
    > Thank you
    >
     
Since you're here... we have a small favor to ask...

More people are visiting & reading SPN than ever but far fewer are paying to sustain it. Advertising revenues across the online media have fallen fast. So you can see why we need to ask for your help. Donating to SPN's is vote for free speech, for diversity of opinions, for the right of the people to stand up to religious bigotry. Without any affiliation to any organization, this constant struggle takes a lot of hard work to sustain as we entirely depend on the contributions of our esteemed writers/readers. We do it because we believe our perspective matters – because it might well be your perspective, too... Fund our efforts and together we can keep the world informed about the real Sikh Sikhi Sikhism. If everyone who writes or reads our content, who likes it, helps us to pay for it, our future would be much more secure. Every Contribution Matters, Contribute Generously!

    Become a Supporter      ::     Make a Contribution     



Share This Page