Changes between Version 7 and Version 8 of ImportantUseCase003
- Timestamp:
- 12/28/22 15:59:26 (2 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ImportantUseCase003
v7 v8 44 44 45 45 {{{ 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) 46 select a.apartment_size,a.apartment_adress,au.phone_number,p.cityname,p.number_of_roommates,p.price 47 from apartment a,post p,appuser au,owner_post op,apartment_owner ao,building b 48 where p.postid=op.owner_postid 49 and 50 ao.ownerid=a.ownerid 48 51 and 49 (p.postid=sp.student_postid) 52 op.ownerid=a.ownerid 50 53 and 51 (sp.studentid=s.studentid) 54 op.apartmentid=a.apartmentid 52 55 and 53 (p.price<=400) 56 au.userid=op.ownerid 54 57 and 55 (p.number_of_roommates=4); 58 a.buildingid=b.buildingid 59 and 60 p.price < (150*p.number_of_roommates) 61 and 62 p.number_of_roommates=2 56 63 }}}