目录一、UUID主键的缺陷二、优化方案UUID(Universally Unique IDentifier 通用唯一标识符),是一种常用的唯一标识符,在mysql中,可以利用函数uuid()来生产UUID。因为UUID可以唯一标识记录,因此有些场景可能会用来
I have a set of numbers and a table in a database with the id (primary key) and text (not null) columns. I would like to create a query that returns all the numbers in the set and the associated text