SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Addict itHighway's Avatar
    Join Date
    Jan 2008
    Location
    GUJ
    Posts
    270
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Sql Query (Database MS Access or Sql server)

    I have four tables, B1, B2 and C1, C2.
    B1 is linked with B2 and C1 is linked with C2 with a numeric id.

    I need to write a query that pulls data from B1, B2 and C1, C2 tables.


    Please advice.

  2. #2
    SQL Consultant gold trophysilver trophybronze trophy
    r937's Avatar
    Join Date
    Jul 2002
    Location
    Toronto, Canada
    Posts
    39,329
    Mentioned
    63 Post(s)
    Tagged
    3 Thread(s)
    insufficient information

    if B1-B2 are not related to C1-C2, you need to explain how you want a single query to return data from them, and furthermore, what data?

    i appreciate you may want to keep application concept or ideas confidential, but what you posted is unfortunately oversimplified

    "make things as simple as possible, but no simpler" - albert einstein
    rudy.ca | @rudydotca
    Buy my SitePoint book: Simply SQL
    "giving out my real stuffs"


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •