I have a table that has a list of states. I did this to create the table:
CREATE TABLE drb (
Statename VARCHAR2(15)
)
I then inserted the state data. However, I want my first column to be a created unique state ID. So it should list 1-50 for the 50 states in the United States. I tried searching different unique tutorials like this and nothing seemed to work.
Essentially, I want to know how to get a unique numerical key for a variable