回答編集履歴

1

SQL文を読みやすいように改行

2019/12/07 09:54

投稿

退会済みユーザー
test CHANGED
@@ -4,4 +4,12 @@
4
4
 
5
5
 
6
6
 
7
+ select to_char(uriage1.date,'YYYY-MM-DD'),
8
+
9
+ uriage1.price,uriage2.price
10
+
11
+ from uriage1
12
+
13
+ inner join uriage2 on
14
+
7
- select to_char(uriage1.date,'YYYY-MM-DD'),uriage1.price,uriage2.price from uriage1 inner join uriage2 on to_char(uriage1.date,'YYYYMMDD') = to_char(uriage2.date,'YYYYMMDD');
15
+ to_char(uriage1.date,'YYYYMMDD') = to_char(uriage2.date,'YYYYMMDD');