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

    hello everybody, i have two tables Student and Supervisor StudentId StudentName 1 john 2 paul 3 britney 4 Mike . . . . 13 beckham SupervisorId SupervisorName 1 Martin 2 Tony 3 Janet 4 Brad 5 johnson 6 David 7 Raj how can i allocate 7 supervisor to 13 students equally. any help would be appricaited. regards learner

    B 1 Reply Last reply
    0
    • L Learner520

      hello everybody, i have two tables Student and Supervisor StudentId StudentName 1 john 2 paul 3 britney 4 Mike . . . . 13 beckham SupervisorId SupervisorName 1 Martin 2 Tony 3 Janet 4 Brad 5 johnson 6 David 7 Raj how can i allocate 7 supervisor to 13 students equally. any help would be appricaited. regards learner

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

      I guess your table Student should contain column which have any value from Supervisor. Your Student table have to looks like this : StudentId StudentName SupervisorId 1 john 1 2 paul 1 3 britney 3 4 Mike 5 . . . . 13 beckham 7


      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
      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