How to SELECT the last 10 rows of an SQL table which has no ID field?

后端 未结 13 1392
灰色年华
灰色年华 2020-12-15 17:38

I have an MySQL table with 25000 rows.

This is an imported CSV file so I want to look at the last ten rows to make sure it imported everything.

However, sinc

相关标签:
13条回答
  • 2020-12-15 18:14

    If you know how many rows to expect, I would create a separate temporary table in your database of the expected structure, append into that, then check the count... Once you are good with that, then you can massage that data before appending it into your final production table.

    0 讨论(0)
提交回复
热议问题