Create Table

Markus3003

Neuer Benutzer
Beiträge
1
Hi guys,
I am quit new with SQL and I do have a problem. Please check my screenshots, so hopefully someone can help :)

1.) I created a table with 4 columns:
upload_2019-6-6_13-31-30.png
2.) I created a dataframe
upload_2019-6-6_13-32-53.png

Everything worked so far...

3.) I want to insert the Data in the table, but the I get the following error:

upload_2019-6-6_13-35-16.png

So the statement says I created only 3 columns, but I did 4!

Thank you for any help!

Best Markus :)
 
Werbung:
If you execute a SELECT * FROM tbl_... do you get 3 or 4 clumns?
You could/should always specify the columns to insert in and to select from, don't use SELECT * in productive code. So please try
Code:
INSERT INTO target(col1,col2) SELECT col1,col2 FROM source
 
Zurück
Oben