please tell me how to place an existing column(contained values) at first position in mysql. Suppose i have a table EMP_DTLS and there are columns like NAME, SALARY, DOJ, DOB, EMAIL_ID, AND EMP_ID contains values in every columns. Now i want to place this EMP_ID at first position. Thanks in advance.
I have tried the queries those are discussed here previously but those aren't working for me.
ALTER TABLE EMP_DTLS MODIFY COLUMN EMP_ID INT(10) FIRST
Just use the correct type,i used INT(10)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With