Changes between Version 4 and Version 5 of WikiNewPage


Ignore:
Timestamp:
02/05/23 18:29:22 (2 years ago)
Author:
191248
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WikiNewPage

    v4 v5  
    66select distinct count(d.iddog) as broj_dogovori, avg(cenadog) as procena_cena \\
    77
    8 from dogovori d
    9 left join rezervacii r on
    10 r.iddog=d.iddog
    11 left join smetki s on
    12 s.iddog=d.iddog
    13 where
    14 sklucenna between now() - interval '3 months' and now()
     8from dogovori d \\
     9
     10left join rezervacii r on\\
     11
     12r.iddog=d.iddog\\
     13
     14left join smetki s on\\
     15
     16s.iddog=d.iddog \\
     17
     18where\\
     19
     20sklucenna between now() - interval '3 months' and now() \\
     21
    1522
    1623group by d.iddog