回答編集履歴

2

補足さらに追加

2015/07/23 06:11

投稿

退会済みユーザー
test CHANGED
@@ -1,6 +1,8 @@
1
1
  SCORE/10 でなく、 ROUND(SCORE / 10, 1)
2
2
 
3
3
  SCORE+ADJUST でなく、 SCORE + IFNULL(ADJUST, 0)
4
+
5
+ LAST_DAY(BIRTH()) でなく、 DATE_FORMAT(LAST_DAY(BIRTH), '%Y/%m/%d')
4
6
 
5
7
  【参考】
6
8
 
@@ -12,4 +14,8 @@
12
14
 
13
15
  http://dev.mysql.com/doc/refman/5.6/ja/control-flow-functions.html#function_ifnull
14
16
 
17
+ DATE_FORMAT()
15
18
 
19
+ http://dev.mysql.com/doc/refman/5.6/ja/date-and-time-functions.html#function_date-format
20
+
21
+

1

補足追加

2015/07/23 06:11

投稿

退会済みユーザー
test CHANGED
@@ -1 +1,15 @@
1
+ SCORE/10 でなく、 ROUND(SCORE / 10, 1)
2
+
1
3
  SCORE+ADJUST でなく、 SCORE + IFNULL(ADJUST, 0)
4
+
5
+ 【参考】
6
+
7
+ ROUND()
8
+
9
+ http://dev.mysql.com/doc/refman/5.6/ja/mathematical-functions.html#function_round
10
+
11
+ IFNULL()
12
+
13
+ http://dev.mysql.com/doc/refman/5.6/ja/control-flow-functions.html#function_ifnull
14
+
15
+