1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

how to show data from two different table in database

Discussion in 'Databases' started by seo-india, Aug 18, 2010.

  1. #1
    Dear sir how to show data from two different table it has not relation between
     
    seo-india, Aug 18, 2010 IP
  2. plog

    plog Peon

    Messages:
    298
    Likes Received:
    11
    Best Answers:
    1
    Trophy Points:
    0
    #2
    plog, Aug 18, 2010 IP
  3. StevenLuck

    StevenLuck Peon

    Messages:
    14
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Quite an odd question... Hehehe, what is the usage? Just to see the content of the tables? Or are you going to use the data and display it somewhere else? plog's suggestion is so right ^^

    By the way, if you want to see part of the data on both tables to compare it, you can select part of them in 2 queries, such as

    
    select top 5* from table1
    select top 5* from table2
    Code (markup):

    Then, execute both :)
     
    StevenLuck, Aug 19, 2010 IP