Project

General

Profile

REDMINE study » History » Version 1

Marc Dexet, 16/01/2018 09:35

1 1 Marc Dexet
h1. REDMINE study
2 1 Marc Dexet
3 1 Marc Dexet
Ensemble de requêtes SQL
4 1 Marc Dexet
5 1 Marc Dexet
h2. Compréhension de l'usage de REDMINE
6 1 Marc Dexet
7 1 Marc Dexet
8 1 Marc Dexet
h3. Cas NewDev
9 1 Marc Dexet
10 1 Marc Dexet
<pre><code class="sql">
11 1 Marc Dexet
select COUNT(*) as total, t.name, u.login FROM issues i, trackers t, users u WHERE i.author_id = u.id AND t.id = i.tracker_id AND t.id = 4 GROUP BY t.name, login  ORDER BY total DESC, login;
12 1 Marc Dexet
</code></pre>
13 1 Marc Dexet
14 1 Marc Dexet
<pre>
15 1 Marc Dexet
 total |  name  |  login
16 1 Marc Dexet
-------+--------+----------
17 1 Marc Dexet
    74 | NewDev | kdassas
18 1 Marc Dexet
    60 | NewDev | scaminad
19 1 Marc Dexet
    53 | NewDev | palinger
20 1 Marc Dexet
    30 | NewDev | ccossou
21 1 Marc Dexet
    24 | NewDev | gwang
22 1 Marc Dexet
    20 | NewDev | hballans
23 1 Marc Dexet
    14 | NewDev |
24 1 Marc Dexet
     7 | NewDev | cpidanci
25 1 Marc Dexet
     6 | NewDev | svingata
26 1 Marc Dexet
     5 | NewDev | ebuchlin
27 1 Marc Dexet
     5 | NewDev | esoubrie
28 1 Marc Dexet
     5 | NewDev | mmebsout
29 1 Marc Dexet
     3 | NewDev | bhasnoun
30 1 Marc Dexet
     3 | NewDev | mdexet
31 1 Marc Dexet
     2 | NewDev | ilajili
32 1 Marc Dexet
     1 | NewDev | aarondel
33 1 Marc Dexet
     1 | NewDev | abeelen
34 1 Marc Dexet
     1 | NewDev | cruizdeg
35 1 Marc Dexet
     1 | NewDev | naghanim
36 1 Marc Dexet
37 1 Marc Dexet
</pre>