service_channel은 불만사항 채널이며, 불만사항 수(c), 불만 사항 수는 (t) 동일한 횟수여야 하며 불만 사항 채널이 여러 개 있는 경우 아래 그림과 같은 효과를 얻는 방법은 무엇입니까? ? 자세한 내용은 무시하세요.. 감사합니다^_ ^
0 =>
<code>array (size=4) 'c' => string '4' (length=1) 'create_time' => string '2016-08-04' (length=10) 'archivepath_name' => string '1天' (length=75) 'service_channel' => string '12' (length=2)</code>
1 =>
<code>array (size=4) 'c' => string '4' (length=1) 'create_time' => string '2016-08-04' (length=10) 'archivepath_name' => string '1天' (length=75) 'service_channel' => string '12' (length=2)</code>
2 =>
<code>array (size=4) 'c' => string '2' (length=1) 'create_time' => string '2016-08-04' (length=10) 'archivepath_name' => string '1天' (length=75) 'service_channel' => string '12' (length=2)</code>
3 =>
<code>array (size=4) 'c' => string '2' (length=1) 'create_time' => string '2016-08-04' (length=10) 'archivepath_name' => string '1天' (length=75) 'service_channel' => string '12' (length=2)</code>
4 =>
<code>array (size=4) 'c' => string '2' (length=1) 'create_time' => string '2016-08-04' (length=10) 'archivepath_name' => string '1天' (length=75) 'service_channel' => string '12' (length=2)</code>
5 =>
<code>array (size=4) 'c' => string '2' (length=1) 'create_time' => string '2016-08-04' (length=10) 'archivepath_name' => string '1天' (length=75) 'service_channel' => string '12' (length=2)</code>
6 =>
13 =>
<code>array (size=4) 'c' => string '6' (length=1) 'create_time' => string '2016-08-04' (length=10) 'archivepath_name' => string '1天' (length=75) 'service_channel' => string '29' (length=2)</code>
14 =>
<code>array (size=4) 'c' => string '6' (length=1) 'create_time' => string '2016-08-04' (length=10) 'archivepath_name' => string '1天' (length=75) 'service_channel' => string '29' (length=2)</code>
15 =>
<code>array (size=4) 'c' => string '4' (length=1) 'create_time' => string '2016-08-04' (length=10) 'archivepath_name' => string '1天' (length=75) 'service_channel' => string '29' (length=2)</code>
16 =>
<code>array (size=4) 'c' => string '4' (length=1) 'create_time' => string '2016-08-04' (length=10) 'archivepath_name' => string '1天' (length=75) 'service_channel' => string '29' (length=2)</code>
17 =>
<code>array (size=4) 'c' => string '4' (length=1) 'create_time' => string '2016-08-04' (length=10) 'archivepath_name' => string '1天' (length=75) 'service_channel' => string '29' (length=2)</code>
18 =>
<code>array (size=4) 'c' => string '2' (length=1) 'create_time' => string '2016-08-04' (length=10) 'archivepath_name' => string '1天' (length=75) 'service_channel' => string '29' (length=2)</code>
19 =>
<code>array (size=4) 'c' => string '2' (length=1) 'create_time' => string '2016-08-04' (length=10) 'archivepath_name' => string '1天' (length=75) 'service_channel' => string '29' (length=2)</code>
20 =>
<code>array (size=4) 'c' => string '2' (length=1) 'create_time' => string '2016-08-04' (length=10) 'archivepath_name' => string '1天' (length=75) 'service_channel' => string '29' (length=2) </code>
service_channel은 불만사항 채널이며, 불만사항 수(c), 불만 사항 수는 (t) 동일한 횟수여야 하며 불만 사항 채널이 여러 개 있는 경우 아래 그림과 같은 효과를 얻는 방법은 무엇입니까? ? 자세한 내용은 무시하세요.. 감사합니다^_ ^
0 =>
<code>array (size=4) 'c' => string '4' (length=1) 'create_time' => string '2016-08-04' (length=10) 'archivepath_name' => string '1天' (length=75) 'service_channel' => string '12' (length=2)</code>
1 =>
<code>array (size=4) 'c' => string '4' (length=1) 'create_time' => string '2016-08-04' (length=10) 'archivepath_name' => string '1天' (length=75) 'service_channel' => string '12' (length=2)</code>
2 =>
<code>array (size=4) 'c' => string '2' (length=1) 'create_time' => string '2016-08-04' (length=10) 'archivepath_name' => string '1天' (length=75) 'service_channel' => string '12' (length=2)</code>
3 =>
<code>array (size=4) 'c' => string '2' (length=1) 'create_time' => string '2016-08-04' (length=10) 'archivepath_name' => string '1天' (length=75) 'service_channel' => string '12' (length=2)</code>
4 =>
<code>array (size=4) 'c' => string '2' (length=1) 'create_time' => string '2016-08-04' (length=10) 'archivepath_name' => string '1天' (length=75) 'service_channel' => string '12' (length=2)</code>
5 =>
<code>array (size=4) 'c' => string '2' (length=1) 'create_time' => string '2016-08-04' (length=10) 'archivepath_name' => string '1天' (length=75) 'service_channel' => string '12' (length=2)</code>
6 =>
13 =>
<code>array (size=4) 'c' => string '6' (length=1) 'create_time' => string '2016-08-04' (length=10) 'archivepath_name' => string '1天' (length=75) 'service_channel' => string '29' (length=2)</code>
14 =>
<code>array (size=4) 'c' => string '6' (length=1) 'create_time' => string '2016-08-04' (length=10) 'archivepath_name' => string '1天' (length=75) 'service_channel' => string '29' (length=2)</code>
15 =>
<code>array (size=4) 'c' => string '4' (length=1) 'create_time' => string '2016-08-04' (length=10) 'archivepath_name' => string '1天' (length=75) 'service_channel' => string '29' (length=2)</code>
16 =>
<code>array (size=4) 'c' => string '4' (length=1) 'create_time' => string '2016-08-04' (length=10) 'archivepath_name' => string '1天' (length=75) 'service_channel' => string '29' (length=2)</code>
17 =>
<code>array (size=4) 'c' => string '4' (length=1) 'create_time' => string '2016-08-04' (length=10) 'archivepath_name' => string '1天' (length=75) 'service_channel' => string '29' (length=2)</code>
18 =>
<code>array (size=4) 'c' => string '2' (length=1) 'create_time' => string '2016-08-04' (length=10) 'archivepath_name' => string '1天' (length=75) 'service_channel' => string '29' (length=2)</code>
19 =>
<code>array (size=4) 'c' => string '2' (length=1) 'create_time' => string '2016-08-04' (length=10) 'archivepath_name' => string '1天' (length=75) 'service_channel' => string '29' (length=2)</code>
20 =>
<code>array (size=4) 'c' => string '2' (length=1) 'create_time' => string '2016-08-04' (length=10) 'archivepath_name' => string '1天' (length=75) 'service_channel' => string '29' (length=2) </code>
<code>select create_time,service_channel,c,count(*) as '人数' from a group by create_time,service_channel,c</code>