专业技术初级资格程序员基础知识DB2
题目内容

An SQL function designed to convert temperatures from Fahrenheit to Celsius was created as follows:  CREATE FUNCTION conv_temp(IN temp_f FLOAT)  RETURNS INTEGER  NO EXTERNAL ACTOIN  SPECIFIC convert_ftoc  RETURN INT((temp_f-32)/1.8) How can this function be used to convert average temperature (AVG_TEMP) data stored in a table called CLIMATE_INFO、

2024-07-09

A.CALL conv_temp(climate_info.avg_temp);

B.CALL convert_ftoc(climate_info.avg_temp);

C.SELECT conv_temp(avg_temp) FROM climate_info;

D.SELECT convert_ftoc(avg_temp) FROM climate_info;

题目答案

试卷相关题目

最新试卷
热门试卷

长理培训客户端 资讯,试题,视频一手掌握

去 App Store 免费下载 iOS 客户端