<div dir="ltr"><div class="gmail_extra">Nischt ...<br><br>Empty set (0.78 sec)<br><br></div><div class="gmail_extra">Irgendwie stimmt was mit dem "timestamp' nicht ...<br></div><div class="gmail_extra"><br></div><div class="gmail_extra">
Schaumal einmal grösser als 01.12.2012, zweite Abfrage grösser als 01.01.2013 -><br><br><font size="1"><span style="font-family:courier new,monospace">mysql> SELECT channel_id, count(*) FROM volkszaehler.data where timestamp>135434160000 group by channel_id;<br>
+------------+----------+<br>| channel_id | count(*) |<br>+------------+----------+<br>| 5 | 105273 |<br>| 6 | 105227 |<br>| 7 | 97705 |<br>| 8 | 396709 |<br>| 9 | 60588 |<br>
| 10 | 105283 |<br>| 11 | 105259 |<br>| 12 | 104079 |<br>| 13 | 104195 |<br>| 14 | 754736 |<br>| 15 | 80685 |<br>+------------+----------+<br>11 rows in set (0.74 sec)<br>
<br>mysql> SELECT channel_id, count(*) FROM volkszaehler.data where timestamp>135702000000 group by channel_id;<br>+------------+----------+<br>| channel_id | count(*) |<br>+------------+----------+<br>| 5 | 105274 |<br>
| 6 | 105228 |<br>| 7 | 97705 |<br>| 8 | 396710 |<br>| 9 | 60588 |<br>| 10 | 105284 |<br>| 11 | 105259 |<br>| 12 | 104080 |<br>| 13 | 104195 |<br>
| 14 | 754738 |<br>| 15 | 80685 |<br>+------------+----------+<br>11 rows in set (0.73 sec)</span></font><br>
</div><div class="gmail_extra"><br></div></div>