Changes between Version 1 and Version 2 of UseCase0006


Ignore:
Timestamp:
09/02/26 17:52:21 (4 days ago)
Author:
236024
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • UseCase0006

    v1 v2  
    77== Scenario ==
    88
    9 1. The Student opens the Hackathon participation application form.
     91. The Student opens the application page.
    1010
    11112. The application lists event editions that accept participation applications.
     
    1313{{{#!sql
    1414SELECT
    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
    1920FROM event_editions ee
    20 WHERE ee.et_name IN ('Hackathon', 'BEST Course in Summer')
    21 ORDER BY ee.event_start_time;
     21JOIN event_types et
     22    ON et.et_id = ee.et_id
     23WHERE et.et_name IN ('Hackathon', 'BEST Course in Summer')
     24  AND ee.ee_start_time >= CURRENT_TIMESTAMP
     25ORDER BY ee.ee_start_time;
    2226}}}
    2327
     
    3741    email,
    3842    phone_number
    39 )
    40 VALUES (
     43) VALUES (
    4144    230033,
    4245    'Martina',
     
    5154}}}
    5255
    53 5. The Student enters a motivational letter.
    54 
    55 6. The application stores the submitted application.
     565. The application stores the submitted application.
    5657
    5758{{{#!sql
    5859INSERT INTO applications (
    5960    student_index,
    60     et_name,
    61     event_title,
    62     event_start_time,
    63     function_name,
     61    ee_id,
     62    ef_no,
    6463    motivational_letter,
    6564    application_type,
    6665    application_status
    67 )
    68 VALUES (
     66) VALUES (
    6967    230033,
    70     'Hackathon',
    71     'Impact Hackathon 2026',
    72     TIMESTAMP '2026-12-12 09:00:00',
     68    8,
    7369    NULL,
    7470    'I want to participate in the hackathon because I want to solve a real challenge with a team and improve my practical skills.',
     
    7874}}}
    7975
    80 7. The application shows the submitted application.
     766. The application shows the submitted application.
    8177
    8278{{{#!sql
     
    8581    s.first_name,
    8682    s.last_name,
    87     a.et_name,
    88     a.event_title,
    89     a.function_name,
     83    et.et_name,
     84    ee.ee_title,
    9085    a.application_type,
    9186    a.application_status
     
    9388JOIN students s
    9489    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';
     90JOIN event_editions ee
     91    ON ee.ee_id = a.ee_id
     92JOIN event_types et
     93    ON et.et_id = ee.et_id
     94WHERE a.student_index = 230033
     95  AND a.ee_id = 8;
    9996}}}