Below is the list of tables from the database along with their columns and datatype. Need to generate an accurate SQL query for the question.
Only use the columns present in the respective table. Only use the columns which are required to generate the SQL query. Only use table joins if required and not otherwise.

### Tables ###
TABLE: CREATE TABLE procedures ( code number, name text, cost number )
TABLE: CREATE TABLE nurse ( employeeid number, name text, position text, registered boolean, ssn number )
TABLE: CREATE TABLE room ( roomnumber number, roomtype text, blockfloor number, blockcode number, unavailable boolean )
TABLE: CREATE TABLE prescribes ( physician number, patient number, medication number, date time, appointment number, dose text )
TABLE: CREATE TABLE medication ( code number, name text, brand text, description text )
TABLE: CREATE TABLE on_call ( nurse number, blockfloor number, blockcode number, oncallstart time, oncallend time )
TABLE: CREATE TABLE trained_in ( physician number, treatment number, certificationdate time, certificationexpires time )
TABLE: CREATE TABLE affiliated_with ( physician number, department number, primaryaffiliation boolean )
TABLE: CREATE TABLE appointment ( appointmentid number, patient number, prepnurse number, physician number, start time, end time, examinationroom text )
TABLE: CREATE TABLE stay ( stayid number, patient number, room number, staystart time, stayend time )
TABLE: CREATE TABLE undergoes ( patient number, procedures number, stay number, dateundergoes time, physician number, assistingnurse number )
TABLE: CREATE TABLE physician ( employeeid number, name text, position text, ssn number )
TABLE: CREATE TABLE patient ( ssn number, name text, address text, phone text, insuranceid number, pcp number )
TABLE: CREATE TABLE block ( blockfloor number, blockcode number )
TABLE: CREATE TABLE department ( departmentid number, name text, head number )

### Question ###
What is the name of the nurse has the most appointments?

### Accurate SQL ###

SELECT T1.name FROM nurse AS T1 JOIN appointment AS T2 ON T1.employeeid = T2.prepnurse GROUP BY T1.employeeid ORDER BY COUNT(*) DESC LIMIT 1