Advertisement
Guest User

Untitled

a guest
Dec 12th, 2018
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MySQL 0.16 KB | None | 0 0
  1. update person
  2. set doctor_ID = (select min(mincount) from (select             count(person_ID) as mincount from person group by doctor_ID)as T)
  3. where person_ID=35
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement