i amm trying to do some work in sql developer insert data from nametest to names i want only to insert year ,name and gender ,then create a id for each data in the databse . what commend shouldi use ?...


i amm trying to do some work in sql developer


 insert data from nametest to names


i want only to insert year ,name and gender ,then create a id for each data in the databse .


what commend shouldi  use ?


 i try "INSERT INTO names
(Year, Name, gender),
SELECT (Year_, name_, genderA) FROM namestest;


it shows




Error starting at line : 1 in command -
INSERT INTO names
(Year, Name, gender),
SELECT (Year_, name_, genderA) FROM namestest
Error at Command Line : 2 Column : 21
Error report -
SQL Error: ORA-00926: missing VALUES keyword
00926. 00000 -  "missing VALUES keyword"
*Cause:


how to make it corrrect ?and make a "id "for each data ?


NAMESTEST<br>YEAR_<br>NAME_<br>FREQUENCY<br>I GENDERA<br>

Extracted text: NAMESTEST YEAR_ NAME_ FREQUENCY I GENDERA
NAMES<br>| NAMEID<br>I<br>NAME_<br>I GENDER<br>I NAMERANK<br>YEAR<br>_<br>

Extracted text: NAMES | NAMEID I NAME_ I GENDER I NAMERANK YEAR _

Jun 01, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here