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. General Programming
  3. Java
  4. Get data from database

Get data from database

Scheduled Pinned Locked Moved Java
databasehelp
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.
  • R Offline
    R Offline
    Ravi900kumar
    wrote on last edited by
    #1

    sir im using two different table table1 and table2 in table1 im storing user details and table2 storing username and password . when the user login with table2. he want to same person details only . how it is passable please help me.

    L T 2 Replies Last reply
    0
    • R Ravi900kumar

      sir im using two different table table1 and table2 in table1 im storing user details and table2 storing username and password . when the user login with table2. he want to same person details only . how it is passable please help me.

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      Does this have anything to do with Java? If so please explain exactly what the issue is.

      1 Reply Last reply
      0
      • R Ravi900kumar

        sir im using two different table table1 and table2 in table1 im storing user details and table2 storing username and password . when the user login with table2. he want to same person details only . how it is passable please help me.

        T Offline
        T Offline
        Tom Marvolo Riddle
        wrote on last edited by
        #3

        Use appropriate forum to post your questions.Please see this[^] before posting another question In both tables ,the common id will be USERID(assumption).Use INNERJOIN to join the tables by the common column(USERID). Check these to know about joins: Joining Tables in SQL[^] Visual Representation of SQL Joins[^]

        You have to learn to think like a computer or teach him to think like a human. -Kornfeld Eliyahu Peter

        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