Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Database & SysAdmin
  3. Database
  4. select problem

select problem

Scheduled Pinned Locked Moved Database
help
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    mahmoudinirat
    wrote on last edited by
    #1

    i have 3 tables like this t1 --->table1 t1Id t1Name 1 jj 2 qq t2----->table2 t2Id t2Name 1 rr 2 uu t3---table 3 t3Id tableName 1 t1 2 t2 i need the foolwing result name jj uu

    B S 2 Replies Last reply
    0
    • M mahmoudinirat

      i have 3 tables like this t1 --->table1 t1Id t1Name 1 jj 2 qq t2----->table2 t2Id t2Name 1 rr 2 uu t3---table 3 t3Id tableName 1 t1 2 t2 i need the foolwing result name jj uu

      B Offline
      B Offline
      Blue_Boy
      wrote on last edited by
      #2

      select t1.t1Name,t2.t2Name from t1,t2,t3 where t1.t1id=t2.t2id and t1.t1id=t3.t3id and t2.t2id=t3.t3id Hope it will hep you.


      I Love T-SQL "Don't torture yourself,let the life to do it for you." If my post helps you kindly save my time by voting my post.

      1 Reply Last reply
      0
      • M mahmoudinirat

        i have 3 tables like this t1 --->table1 t1Id t1Name 1 jj 2 qq t2----->table2 t2Id t2Name 1 rr 2 uu t3---table 3 t3Id tableName 1 t1 2 t2 i need the foolwing result name jj uu

        S Offline
        S Offline
        Senthil_M
        wrote on last edited by
        #3

        Please give more details about the relationship between those 3 tables.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups