Changes between Version 1 and Version 2 of UseCase0006
- Timestamp:
- 09/02/26 17:52:21 (4 days ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
UseCase0006
v1 v2 7 7 == Scenario == 8 8 9 1. The Student opens the Hackathon participation application form.9 1. The Student opens the application page. 10 10 11 11 2. The application lists event editions that accept participation applications. … … 13 13 {{{#!sql 14 14 SELECT 15 ee.et_name, 16 ee.event_title, 17 ee.event_start_time, 18 ee.event_end_time 15 ee.ee_id, 16 et.et_name, 17 ee.ee_title, 18 ee.ee_start_time, 19 ee.ee_end_time 19 20 FROM event_editions ee 20 WHERE ee.et_name IN ('Hackathon', 'BEST Course in Summer') 21 ORDER BY ee.event_start_time; 21 JOIN event_types et 22 ON et.et_id = ee.et_id 23 WHERE et.et_name IN ('Hackathon', 'BEST Course in Summer') 24 AND ee.ee_start_time >= CURRENT_TIMESTAMP 25 ORDER BY ee.ee_start_time; 22 26 }}} 23 27 … … 37 41 email, 38 42 phone_number 39 ) 40 VALUES ( 43 ) VALUES ( 41 44 230033, 42 45 'Martina', … … 51 54 }}} 52 55 53 5. The Student enters a motivational letter. 54 55 6. The application stores the submitted application. 56 5. The application stores the submitted application. 56 57 57 58 {{{#!sql 58 59 INSERT INTO applications ( 59 60 student_index, 60 et_name, 61 event_title, 62 event_start_time, 63 function_name, 61 ee_id, 62 ef_no, 64 63 motivational_letter, 65 64 application_type, 66 65 application_status 67 ) 68 VALUES ( 66 ) VALUES ( 69 67 230033, 70 'Hackathon', 71 'Impact Hackathon 2026', 72 TIMESTAMP '2026-12-12 09:00:00', 68 8, 73 69 NULL, 74 70 'I want to participate in the hackathon because I want to solve a real challenge with a team and improve my practical skills.', … … 78 74 }}} 79 75 80 7. The application shows the submitted application.76 6. The application shows the submitted application. 81 77 82 78 {{{#!sql … … 85 81 s.first_name, 86 82 s.last_name, 87 a.et_name, 88 a.event_title, 89 a.function_name, 83 et.et_name, 84 ee.ee_title, 90 85 a.application_type, 91 86 a.application_status … … 93 88 JOIN students s 94 89 ON s.student_index = a.student_index 95 WHERE s.email = 'martina.ilievska@student.ukim.mk' 96 AND a.et_name = 'Hackathon' 97 AND a.event_title = 'Impact Hackathon 2026' 98 AND a.event_start_time = TIMESTAMP '2026-12-12 09:00:00'; 90 JOIN event_editions ee 91 ON ee.ee_id = a.ee_id 92 JOIN event_types et 93 ON et.et_id = ee.et_id 94 WHERE a.student_index = 230033 95 AND a.ee_id = 8; 99 96 }}}
