[英]how to solve error in plsql that NO DATA FOUND
I am getting an error in this psql programming that: BIND VARIABLE "END" NOT DECLARED.我在这个 psql 编程中遇到一个错误:BIND VARIABLE "END" NOT DECLARED。 Please help me with this.
请帮我解决一下这个。
there is absolutley no need for three loops, just join your data and loop once绝对不需要三个循环,只需加入您的数据并循环一次
begin
for i in (select b.bookid,
b.title,
p.publishername as publisher,
a.firstname || ' ' || a.lastname as author
from books b
inner join publisher p on b.publisherid = p.publisherid
inner join author a on b.author_id = a.authorid) loop
dbms_output.put_line(i.bookid || ' ... ' || i.title || ' ... ' || i.publisher || ' ... ' || i.author);
end loop;
end;
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.