質問するログイン新規登録

質問編集履歴

1

MySQLのバージョン記入,データを実行可能なものに変更

2020/05/27 03:33

投稿

u-tyan
u-tyan

スコア15

title CHANGED
File without changes
body CHANGED
@@ -1,5 +1,8 @@
1
- 有料会員のユーザーについて、ユーザーごとに、4月の日ごとのログイン回数・4月の日ごとのログイン時のプレイ回数を出力したいのですが、、
1
+ MySQL初学者です
2
2
 
3
+ 有料会員のユーザーについて、ユーザーごとに、4月の日ごとのログイン回数・4月の日ごとのログイン時のプレイ回数
4
+ を出力したいのですが、、
5
+
3
6
  条件の多い場合の問題が1日かけても解けません(T ^ T)
4
7
 
5
8
  テーブル1:LoginT
@@ -14,7 +17,7 @@
14
17
 
15
18
  ```MySQL
16
19
  create table LoginT(lid int primary key auto_increment,uid int,ldate timestamp,play Int);
17
- insert into LoginT(uid,ldate) values
20
+ insert into LoginT(uid,ldate,play) values
18
21
  (1,'2011-04-06 15:55:00',1),
19
22
  (1,'2011-04-06 16:25:00',1),
20
23
  (1,'2011-04-06 20:01:00',0),
@@ -44,5 +47,6 @@
44
47
 
45
48
  ```
46
49
 
50
+ MySQLのバージョンは8.0.19です。
47
51
 
48
52
  わかる方いらっしゃいましたら、回答お願いいたします。