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?

发布于 2021-04-25 04:04:25
【多选题】
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;

查看更多

关注者
0
被浏览
97
  • 体验AI问答!更聪明、超智能!
  • 一款基于GPT的超级AI助手,可以对话、创作、写文案!
1 个回答

撰写答案

请登录后再发布答案,点击登录

发布
问题

手机
浏览

扫码手机浏览

分享
好友

在线
客服