Changes between Version 13 and Version 14 of AdminTips


Ignore:
Timestamp:
2013-03-02T05:35:46Z (12 years ago)
Author:
Pan Luo
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • AdminTips

    v13 v14  
    3535
    3636Replace EVENT_ID to event id and COURSE_ID to course id.
     37
    3738
    3839=== Merge Students with Duplicated Accounts (the accounts starts with "s" and without) ===
     
    8081}}}
    8182
     83
     84=== Find Duplicate Students ===
     85{{{
     86#!sql
     87select id, username, student_no  from users where student_no in (select student_no from (select student_no, count(*) c from users group by student_no having c > 1) as a) order by student_no, username;
     88}}}
     89
    8290=== Merge Students old accounts into new ones ===
    8391The old student accounts using student number as username and the new ones uses PUID.