Changes between Version 7 and Version 8 of ImportantUseCase003


Ignore:
Timestamp:
12/28/22 15:59:26 (19 months ago)
Author:
201144
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ImportantUseCase003

    v7 v8  
    4444
    4545{{{
    46 select ime,prezime,phone_number,(p.price/p.number_of_roommates) as budget from appuser, student s,post p ,student_post sp 
    47 where (appuser.userid=s.studentid)
     46select a.apartment_size,a.apartment_adress,au.phone_number,p.cityname,p.number_of_roommates,p.price
     47from apartment a,post p,appuser au,owner_post op,apartment_owner ao,building b
     48where p.postid=op.owner_postid
     49and
     50ao.ownerid=a.ownerid
    4851and
    49 (p.postid=sp.student_postid)
     52op.ownerid=a.ownerid
    5053and
    51 (sp.studentid=s.studentid)
     54op.apartmentid=a.apartmentid
    5255and
    53 (p.price<=400)
     56au.userid=op.ownerid
    5457and
    55 (p.number_of_roommates=4);
     58a.buildingid=b.buildingid
     59and
     60p.price < (150*p.number_of_roommates)
     61and
     62p.number_of_roommates=2
    5663}}}