回答編集履歴

2

変更

2017/06/21 06:35

投稿

A.Ichi
A.Ichi

スコア4070

test CHANGED
@@ -8,7 +8,7 @@
8
8
 
9
9
  FROM `contentsLogSumallyTable` AS t1
10
10
 
11
- LEFT JOIN `contentsTable` AS t2 ON t1.`contentsCode` = t2.`contentsCode` AND `index` = 'yes'
11
+ JOIN `contentsTable` AS t2 ON t1.`contentsCode` = t2.`contentsCode` AND `index` = 'yes'
12
12
 
13
13
  WHERE logDate BETWEEN :startDate AND :endDate
14
14
 

1

変更

2017/06/21 06:35

投稿

A.Ichi
A.Ichi

スコア4070

test CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  SELECT t1.`contentsCode`,SUM(`dayAccess`) AS 'totalAccess'
6
6
 
7
- ,title
7
+ ,`title`
8
8
 
9
9
  FROM `contentsLogSumallyTable` AS t1
10
10