Results 1 to 3 of 3

Thread: Need Help With Joing Tables SQL

  1. #1

    Thread Starter
    Member
    Join Date
    Jun 2012
    Posts
    47

    Need Help With Joing Tables SQL

    Join Tables.txt


    I need help with Joining tables in sql,. I tried alot of query, but Im really not getting anywhere. If someone can help lead me in the right path, it really would help. I have provided a txt file of the two table, Im trying to join together.

  2. #2
    PowerPoster
    Join Date
    Jun 2001
    Location
    Trafalgar, IN
    Posts
    4,141

    Re: Need Help With Joing Tables SQL

    Simple inner join would be something like this

    SELECT yf.PartNumber, yf.Total, yf.[Stock Range], yf.Shorten, ssr.Limit
    From YF_Safety_Stock_Inventory12 yf
    INNER JOIN Safety_ Stock_Requirments ssr ON yf.PartNumber = ssr.PartNumber

    What exactly are you trying to get from the tables?

  3. #3
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974

    Re: Need Help With Joing Tables SQL

    Thread moved to the 'Database Development' forum - which is where you should always post SQL questions (while SQL can be used in VB, it is certainly not specific to VB)

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