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

An SQL function named DEPT_INFO was created as follows:  CREATE FUNCTION dept_info()  RETURNS TABLE(dept_id INTEGER,dept_name VARCHAR(20))  LANGUAGE SQL  READS SQL DATA  BEGIN ATOMIC  RETURN    SELECT deptno,deptname FROM department WHERE deptname LIKE 'S%';  END What is the correct way to use this function in a query、

2024-07-09

A.SELECT dept_info(dept_id, dept_name)

B.SELECT dept_id, dept_name FROM dept_info()

C.SELECT TABLE dept_id, dept_name FROM dept_info()

D.SELECT dept_id, dept_name FROM TABLE(dept_info()) AS results

题目答案

试卷相关题目

最新试卷
热门试卷

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

去 App Store 免费下载 iOS 客户端