早教吧作业答案频道 -->英语-->
where在需要下列之一时declarevidnumber:=&id;vstockcountnumber;beginselectstockcountintovstockcountfromesproduct;whereid=vid;dbmsoutputline(vstocount);end;
题目详情
where 在需要下列之一时
declare
v_id number := &id;
v_stock_count number;
begin
select stockcount into v_stock_count from es_product;
where id = v_id;
dbms_output_line(v_stocount);
end;
declare
v_id number := &id;
v_stock_count number;
begin
select stockcount into v_stock_count from es_product;
where id = v_id;
dbms_output_line(v_stocount);
end;
▼优质解答
答案和解析
你把where上一行行尾的分号去掉就Ok了
看了 where在需要下列之一时d...的网友还看了以下:
where在需要下列之一时declarevidnumber:=&id;vstockcountnum 2020-07-23 …