ITPub博客

首页 > 数据库 > Oracle > ocp 19c考题,科目082考试题(13)-variable prompt

ocp 19c考题,科目082考试题(13)-variable prompt

Oracle 作者:unix_5030 时间:2022-01-13 17:43:26 1 删除 编辑

13.You want to write a query that prompts for two column names and the WHERE condition each time it is executed in a session but only prompts for the table name the first time it is executed.

The variables used in your query are never undefined in your session.

Which query can be used?

A. SELECT &&col1, &&col2FROM &table WHERE &&condition = &&cond;

B. SELECT &col1, &col2FROM &&table WHERE &condition;

C. SELECT &col1, &col2FROM “&table” WHERE &condition;

D. SELECT ‘&&col1’, ‘&&col2’FROM &table WHERE ‘&&condition’ = ‘&cond’;

E. SELECT &&col1, &&col2FROM &table WHERE &&condition;

Source : cuug


来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/70010796/viewspace-2852146/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2021-11-30

  • 博文量
    36
  • 访问量
    15887