Changes between Version 10 and Version 11 of ImportantUseCase1


Ignore:
Timestamp:
12/14/22 17:55:58 (2 years ago)
Author:
201065
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ImportantUseCase1

    v10 v11  
    4343[[Image(1-05.jpg)]]
    4444{{{#!sql
    45 select articlename, quantity from articles a
     45select articlename, quantity from articles a --артикли што се чуваат на дадена локација
    4646left join storedarticles s on s.articleid=a.articleid
    4747where s.locationid=1
     
    5454{{{#!sql
    5555select a.articlename, s.quantity, l.locationname, a.description from articles a
    56 left join storedarticles s on s.articleid=a.articleid
     56left join storedarticles s on s.articleid=a.articleid --инфо за избраниот артикл
    5757left join locations l on l.locationid=s.locationid
    5858where a.articleid=3
     
    6161select c.categoryname from categories c
    6262left join article_belongs_to_category abtc on abtc.categoryid=c.categoryid
    63 left join articles a on a.articleid=abtc.articleid
     63left join articles a on a.articleid=abtc.articleid --категории на кои припаѓа артиклот
    6464where a.articleid=3
    6565}}}