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. Random or sequential allocation!

Random or sequential allocation!

Scheduled Pinned Locked Moved Database
helpquestionlounge
2 Posts 2 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.
  • L Offline
    L Offline
    Learner520
    wrote on last edited by
    #1

    hi everybody, i have two tables student and supervisor 1-Student studentId studentname 1 john 2 paul 3 Martin 4 tony . . . 14 Mike 2-Supervisor SupervisorId supervisorName 1 Mark 2 Rodney 3 Wilson 4 Sarah 5 Raj 6 Neil 7 David i hav 14 students and 7 supervisor i have to allocate each supervisor to 2 students. please could anyone tell me how i can allocate 1 supervisor to 2 sutdents or how can i display output as Allocation Table like this Allocation Table AllocationId Student Supervisor 1 1 1 2 2 1 3 3 2 4 4 2 5 5 3 6 6 3 7 7 4 . . . . . . . . . 13 13 7 14 14 7 thanks for any kind help in adv. regards learner

    A 1 Reply Last reply
    0
    • L Learner520

      hi everybody, i have two tables student and supervisor 1-Student studentId studentname 1 john 2 paul 3 Martin 4 tony . . . 14 Mike 2-Supervisor SupervisorId supervisorName 1 Mark 2 Rodney 3 Wilson 4 Sarah 5 Raj 6 Neil 7 David i hav 14 students and 7 supervisor i have to allocate each supervisor to 2 students. please could anyone tell me how i can allocate 1 supervisor to 2 sutdents or how can i display output as Allocation Table like this Allocation Table AllocationId Student Supervisor 1 1 1 2 2 1 3 3 2 4 4 2 5 5 3 6 6 3 7 7 4 . . . . . . . . . 13 13 7 14 14 7 thanks for any kind help in adv. regards learner

      A Offline
      A Offline
      Ashfield
      wrote on last edited by
      #2

      So didn't you understand the answer the first time you asked? If not, try responding to the original post, not starting a new one.

      Bob Ashfield Consultants Ltd Proud to be a 2009 Code Project MVP

      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