InterviewSolution
Saved Bookmarks
| 1. |
The value of recently generated sequence number can be obtained by ____________(a) LAST_INSERT_ID()(b) LATEST_INSERT_ID()(c) INITIAL_INSERT_ID()(d) INSERT_ID() |
|
Answer» The correct choice is (a) LAST_INSERT_ID() Easiest explanation: The value of most recently generated sequence number can be obtained by calling the LAST_INSERT_ID() function. This enables to reference the AUTO_INCREMENT value in the subsequent statement. |
|