Part of Slepp's ProjectsPastebinTURLImagebinFilebin
Feedback -- English French German Japanese
Create Upload Newest Tools Donate
Sign In | Create Account

Miscellany
Tuesday, August 14th, 2007 at 10:02:07pm MDT 

  1. This is the table i would like to use as the referance that has all the data and tells the query where to get the other data
  2.  
  3. Table1
  4. |--|----|----------|----------|------------|
  5. |ID|Name|Referance1|Referance2|Referance...|
  6. |--|----|----------|----------|------------|
  7. |1 |K491|13        |43        |786         |
  8. |--|----|----------|----------|------------|
  9.  
  10.  
  11. The other data is stored here
  12. Table2
  13. |------|--------|----|
  14. |DataID|DataName|Data|
  15. |------|--------|----|
  16. |13    |Bleh    |Sam |
  17. |------|--------|----|
  18. |43    |Dogs    |Dig |
  19. |------|--------|----|
  20. |Random|DataName|Dat |
  21. |------|--------|----|
  22. |Random|DataName|Dat |
  23. |------|--------|----|
  24. |Random|DataName|Dat |
  25. |------|--------|----|
  26. |Random|DataName|Dat |
  27. |------|--------|----|
  28.  
  29. This is what i would like to recive in the end
  30.  
  31. Result
  32.  
  33. |--|----|----------|----------|------------|--------|----|--------|----|
  34. |ID|Name|Referance1|Referance2|Referance...|Name1   |Data|Name2   |Dat2|
  35. |--|----|----------|----------|------------|--------|----|--------|----|
  36. |1 |K491|13        |43        |786         |Bleh    |Sam |Dogs    |Dig |
  37. |--|----|----------|----------|------------|--------|----|--------|----|
  38.  
  39. I had tryed somthing like join until i relised that that would be no good as it would only join 1 row

advertising

Update the Post

Either update this post and resubmit it with changes, or make a new post.

You may also comment on this post.

update paste below
details of the post (optional)

Note: Only the paste content is required, though the following information can be useful to others.

Save name / title?

(space separated, optional)



Please note that information posted here will expire by default in one month. If you do not want it to expire, please set the expiry time above. If it is set to expire, web search engines will not be allowed to index it prior to it expiring. Items that are not marked to expire will be indexable by search engines. Be careful with your passwords. All illegal activities will be reported and any information will be handed over to the authorities, so be good.

worth-right
fantasy-obligation