Created
          January 9, 2023 06:29 
        
      - 
      
 - 
        
Save acosonic/62d3aca8308da1d6d89731cb12786545 to your computer and use it in GitHub Desktop.  
    Adding mysql auto increment primary key integer id field as first element to exiting table on the first place
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | ALTER TABLE somename ADD id int NOT NULL AUTO_INCREMENT primary key first | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment