Quantcast
Channel: MySQL Forums - MySQL Workbench
Viewing all articles
Browse latest Browse all 3739

imported table shows id column but none there (no replies)

$
0
0
I just imported a CSV file into my small MySQL database.

The CSV file had two comma seperated values per line... username and password.

It seemed to have imported OK but when I look at the new tables columns with MySQL Workbench I see 3-columns...
id, username, password

BUT when I query the table...

SELECT id, usernamme, password FROM mydb.users;

Workbench tells me there is no id field.

And I see no id column with this query

SELECT * FROM mydb.users.

Question 1: Did I import the data correctly?
Question 2: Why does Workbench show me an id column when apparently there isn't one?
Question 3: Should I do it over differently?

Thanks for any help.

Viewing all articles
Browse latest Browse all 3739

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>