質問編集履歴
1
うーん
test
CHANGED
File without changes
|
test
CHANGED
@@ -83,3 +83,23 @@
|
|
83
83
|
|
84
84
|
|
85
85
|
```
|
86
|
+
|
87
|
+
こうとか...うーん、PHPでやるしかないでしょうか。
|
88
|
+
|
89
|
+
```sql
|
90
|
+
|
91
|
+
SELECT
|
92
|
+
|
93
|
+
u.id,
|
94
|
+
|
95
|
+
u.old,
|
96
|
+
|
97
|
+
'[{ja:' . n.ja . '},{en:' . n.en . '}]' AS names
|
98
|
+
|
99
|
+
FROM users u
|
100
|
+
|
101
|
+
LEFT JOIN names n ON n.id=u.id
|
102
|
+
|
103
|
+
WHERE u.old > 10
|
104
|
+
|
105
|
+
```
|