Changes between Version 4 and Version 5 of UseCase003


Ignore:
Timestamp:
05/13/26 11:54:50 (2 weeks ago)
Author:
232012
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • UseCase003

    v4 v5  
    20201. User navigates to the store's catalog or search page to view available music.
    2121
    22 2. System retrieves the list of {{{Releases}}} from the database, including metadata such as {{{title}}}, {{{genre}}}, and {{{record_label}}}.
     222. System retrieves the list of Releases from the database, including metadata such as title, genre, and record_label.
    2323
    24 3. System matches each {{{Release}}} with its corresponding {{{Artist}}} to display the {{{artist_name}}}.
     24{{{#!div style="margin-left: 20px;"
     25{{{
     26SELECT release_id, title, genre, record_label, release_date, cover_photo
     27FROM Release;
     28}}}
     29}}}
    2530
    26 4. System identifies the specific physical {{{Product/s}}} available for each release (such as Vinyl, CD, or Cassette) along with their current {{{price}}} and {{{stock levels}}}.
     313. System matches each Release with its corresponding Artist to display the artist_name.
     32
     33{{{#!div style="margin-left: 20px;"
     34{{{
     35SELECT r.title, a.artist_name
     36FROM Release r
     37JOIN Artist a ON r.artist_id = a.artist_id;
     38}}}
     39}}}
     40
     414. System identifies the specific physical Product/s available for each release (such as Vinyl, CD, or Cassette) along with their current price and stock levels.
     42
     43{{{#!div style="margin-left: 20px;"
     44{{{
     45SELECT release_id, format, price, stock
     46FROM Product
     47WHERE release_id = @current_release_id;
     48}}}
     49}}}
    2750
    28515. System displays the results to the user, formatted by the release type (Album or Single) and featuring the {{{cover_photo}}}.
     52
     53{{{#!div style="margin-left: 20px;"
     54{{{
     55SELECT release_id, 'Album' AS type FROM Album
     56UNION
     57SELECT release_id, 'Single' AS type FROM Single;
    2958}}}
     59}}}
     60
     61}}}