create table test_tables (
id number(38) primary key,
name varchar2(50),
age number(5),
gender varchar2(10),
point number(5,2)
);
insert into test_tables values (1,'name1',20,'male',80.5);
insert into test_tables values (2,'name2',21,'female',60.5);
insert into test_tables values (3,'name3',23,'male',90.5);
insert into test_tables values (4,'name4',19,'male',79.5);
insert into test_tables values (5,'name5',18,'female',80.5);
Результат TestTable.sum (: точка) равен 391,
, почему не 391,5?
Я проверяю rdoc, есть описание:
The value is returned with the same data type of the column
Но в моемcase, тип 'point' - это число (5,2).
Это не число с плавающей точкой?