select * from report_tt_storage_cost_record where customer_code = ADDS这条SQL语句写的对吗
时间: 2024-05-07 13:20:23 浏览: 165
AddFilter-Storage-Filter-Tool.rar_The Given
这条SQL语句有问题。在SQL语句中,字符串需要使用单引号或双引号括起来,所以应该将ADDS用单引号或双引号括起来,例如:
```
select * from report_tt_storage_cost_record where customer_code = 'ADDS';
```
或者
```
select * from report_tt_storage_cost_record where customer_code = "ADDS";
```
阅读全文