Changes between Version 8 and Version 9 of ImportantUseCase012


Ignore:
Timestamp:
01/13/25 03:05:02 (2 days ago)
Author:
201205
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ImportantUseCase012

    v8 v9  
    2828
    2929{{{
    30 select b.title, b.author, b.language, b.imageurl, l.condition, u.username, u.city, u.neighborhood, g.genre
    31 from book b join library l on b.bookid=l.bookid
    32         join appuser u on l.userid=u.userid
    33         left join genre g on g.bookid=b.bookid
     30select b.title, b.author, b.language, b.imageurl, l.condition, au.username, au.city, au.neighborhood, g.genre
     31from book b join librarybook lb on b.bookid=lb.bookid
     32        join library l on l.inventoryid=lb.inventoryid
     33        join appuser au on l.userid=au.userid
     34        left join genre g on g.bookid=b.bookid 
    3435where lower(b.title) like ('%search%') or lower(b.author) like ('%search%') or lower(g.genre) like ('%search%')
    35 order by u.city, u.neighborhood;
     36order by au.city, au.neighborhood;
    3637
    3738}}}