在MySQL中,检索数据时,如果 select 语句的结果集是单个值,可以将 select 语句的返回结果赋予用户会话变量,下列代码错误的是()

发布于 2021-02-18 04:30:51
【单选题】
A select @productNum:=count(*) from product
B select count(*) into @productNum from product
C select @productNum into count(*) from product
D select count(*) from product into @productNum

查看更多

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

撰写答案

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

发布
问题

手机
浏览

扫码手机浏览

分享
好友

在线
客服