Changes between Version 2 and Version 3 of UseCase0005
- Timestamp:
- 09/02/26 20:32:36 (4 days ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
UseCase0005
v2 v3 9 9 1. The Board Member opens the create event edition page. 10 10 11 2. The application lists event types and locations.11 2. The application lists event types, event function types and locations. 12 12 13 13 {{{#!sql 14 SELECT et_id, et_name 14 SELECT 15 et_id, 16 et_name 15 17 FROM event_types 16 18 ORDER BY et_name; 17 19 18 SELECT l_id, l_name 20 SELECT 21 eft_id, 22 eft_name 23 FROM event_function_types 24 ORDER BY eft_name; 25 26 SELECT 27 l_id, 28 l_name 19 29 FROM locations 20 30 ORDER BY l_name; 21 31 }}} 22 32 23 3. The Board Member enters Job Fair 2027 with the selected event type and dates.33 3. The Board Member enters Job Fair 2027 with the relevant information. 24 34 25 35 4. The application stores the event edition. … … 53 63 54 64 {{{#!sql 55 INSERT INTO event_functions (ee_id, ef_no, ef_name) VALUES 56 (1001, 1, 'Main Organiser 1'), 57 (1001, 2, 'Main Organiser 2'), 58 (1001, 3, 'Corporate Relations Responsible 1'), 59 (1001, 4, 'Corporate Relations Responsible 2'), 60 (1001, 5, 'Logistics Responsible'), 61 (1001, 6, 'PR Responsible'), 62 (1001, 7, 'FR Responsible'), 63 (1001, 8, 'IT Responsible'), 64 (1001, 9, 'Design Responsible'); 65 INSERT INTO event_functions ( 66 ee_id, 67 ef_no, 68 eft_id 69 ) 70 VALUES 71 (1001, 1, 1), 72 (1001, 2, 1), 73 (1001, 3, 2), 74 (1001, 4, 2), 75 (1001, 5, 3), 76 (1001, 6, 4), 77 (1001, 7, 5), 78 (1001, 8, 6), 79 (1001, 9, 7); 65 80 }}} 66 81 … … 88 103 ORDER BY l.l_name; 89 104 90 SELECT ef_no, ef_name 91 FROM event_functions 92 WHERE ee_id = 1001 93 ORDER BY ef_no; 105 SELECT 106 ef.ef_no, 107 eft.eft_name 108 FROM event_functions ef 109 JOIN event_function_types eft 110 ON eft.eft_id = ef.eft_id 111 WHERE ef.ee_id = 1001 112 ORDER BY ef.ef_no; 94 113 }}}
