Version 5 (modified by 3 years ago) ( diff ) | ,
---|
Приказ на детали
Посетител или Reviewer може да гледа детали за избраниот бизнис.
Актери
- Посетител
- Reviewer
Реализација
Чекор 1 : Системот го прикажува избраниот бизнис.
select b.business_id, b.business_name, ( select avg(r.review_stars) from review r where r.business_id = b.business_id ) as business_avg_stars, c.category_name, a.address_city, b.business_hours, b.business_descr, b.business_phone from business b join category c on b.category_id = c.category_id join address a on b.business_id = a.business_id where b.business_id = 4
select s.service_name from business_service bs join service s on bs.service_id = s.service_id where business_id = 4
Attachments (4)
- biznis.png (89.3 KB ) - added by 3 years ago.
- biznis.2.png (94.1 KB ) - added by 3 years ago.
- menu.png (9.3 KB ) - added by 3 years ago.
- list.png (39.3 KB ) - added by 3 years ago.
Download all attachments as: .zip
Note:
See TracWiki
for help on using the wiki.