我在PostgreSQL中有一个表,它有一个浮点列。在我的select中,我对该列使用了AVG(),因此它经常给出一个带有多个小数的数字。有没有办法将小数位数限制到最多3位,这意味着小数位数可以少于但不能超过3位。以下是查询: SELECT team, AVG(score) FROM team_score_table GROUP BY team
printf("enter rectangular base length"); printf("enter rectangular base height\n"scanf("%d", &b); perimeter = (a + b) * 2;
printf("area of a rectangle = %d\n"d", perime