質問編集履歴

2

誤字

2020/05/18 10:10

投稿

poporian_a
poporian_a

スコア8

test CHANGED
File without changes
test CHANGED
@@ -68,7 +68,7 @@
68
68
 
69
69
           //SQL statement
70
70
 
71
- String query = "INSERT INTO shopping_koizumi.ORDER "
71
+ String query = "INSERT INTO ORDER "
72
72
 
73
73
  + "(CUSTOMER_ID,ITEM_ID,NUMBER,PRICE,UPD_STAF_CD,UPD_DATE,INS_DATE) "
74
74
 

1

書式の改善

2020/05/18 10:09

投稿

poporian_a
poporian_a

スコア8

test CHANGED
File without changes
test CHANGED
@@ -70,11 +70,11 @@
70
70
 
71
71
  String query = "INSERT INTO shopping_koizumi.ORDER "
72
72
 
73
- + "(CUSTOMER_ID,ITEM_ID,NUMBER,PRICE,UPD_STAF_CD,UPD_DATE,INS_DATE) "
73
+ + "(CUSTOMER_ID,ITEM_ID,NUMBER,PRICE,UPD_STAF_CD,UPD_DATE,INS_DATE) "
74
74
 
75
75
  + "VALUES (?,?,?,?,?,NOW(),NOW()); "
76
76
 
77
- +"UPDATE PRODUCT_STOCK "
77
+ +"UPDATE PRODUCT_STOCK "
78
78
 
79
79
  + "SET STOCK = ?,UPD_STAF_CD = ?, UPD_DATE = NOW() "
80
80