问题
Every query has a final row with an asterisk beside it and null values for every field? Why does this show up? I cant seem to find an explanation for it. Even putting a WHERE clause doesnt seem to get rid of it. Is this only happening to the MySQL implementation alone?
回答1:
It is for inserting a new row, you enter the values there.
回答2:
Are you sure it's not just the data entry row. Usually when viewing the table data in something like Workbench or SQLYog, it will display the rows of data, plus a blank row at the end that is used for adding new data. It will show NULL for each column if that is the default value for that columns data type
来源:https://stackoverflow.com/questions/22075237/why-does-sql-workbench-always-return-a-row-full-of-null-values-in-every-query