我最近創建了一個名爲Movie_Stars的表。它包含6列:Movie_Number number unique,Movie_Title varchar2(30)unique,Year_Released date not null,First_Name varchar2(15),Last_Name varchar2(15)和Movie_Category varchar2(15)。我需要插入下面的值到表:插入多行時的虛擬結果
insert all
into movie_stars (movie_number, movie_title, year_released, first_name, last_name, movie_category)
values (1, 'New York Stories', 'January 1 1984', Nick, Nolte, Drama)
into movie_stars (movie_number, movie_title, year_released, first_name, last_name, movie_category)
values (2, 'Speed', '1999, FEB 12', Keanu, Reeves, Action)
into movie_stars (movie_number, movie_title, year_released, first_name, last_name, movie_category)
values (3, 'Superman', '1982, MAR 7', Chris, Reeve, Action)
into movie_stars (movie_number, movie_title, year_released, first_name, last_name, movie_category)
values (4, 'Ice Age', '2002, April 2', Chris, Rock, Cartoon)
into movie_stars (movie_number, movie_title, year_released, first_name, last_name, movie_category)
values (5, 'Bowfinger', '2001, August 03', Eddie, Murphy, Comedy);
select * from dual;
然而,當我跑的代碼,它返回的結果如下:
DUMMY
-----
1 x
這是什麼意思?如何解決?
'從dual'選擇*? – Aleksej