I created a table called "Author" and inserted row values into it in MySql. When I query the table with SELECT * FROM Author; the result will show the columns but not row values.
I assume I have some kind of white space or syntax problem, but I cant seem to figure it out.
It looks like you just didn’t run the 2nd query (insert). My IDE for MySQL (dbeaver) doesn’t automatically run all the queries on the screen, just the one where the cursor is. Or there’s a button that says "execute sql script" which will run all of the queries in turn.
2
Answers
@Russell Fox thank you. I needed to highlight the INSERT query and run that before the SELECT.
It looks like you just didn’t run the 2nd query (insert). My IDE for MySQL (dbeaver) doesn’t automatically run all the queries on the screen, just the one where the cursor is. Or there’s a button that says "execute sql script" which will run all of the queries in turn.