This value is the last value inserted into an autoincrement or global autoincrement column for the database. This value is
not recorded when the database is shutdown, so calling this method before any autoincrement values have been inserted returns
0.
Note
The last value inserted may have been on another connection.