how to rename an existing column in a table? : Sql dba
Answer / Rahul Anand
To rename an existing column in a MySQL table, you can use the ALTER TABLE command with the RENAME COLUMN statement. Here's an example: `ALTER TABLE your_table RENAME COLUMN old_column_name TO new_column_name`.
| Is This Answer Correct ? | 0 Yes | 0 No |
A table has 150 records. How do you retrieve 100th row to 120th row from that table ?
What is primary and foreign key?
How many functions are there in sql?
In table a 1lakh data is present,in table b 20 thousand data is present, to get unique data from table a and b which join to be considered. whether right outer join or left inner join.
What is join view in sql?
what is user defined functions? : Sql dba
How can I create a table from another table without copying any values from the old table?
What is cartesian join in sql?
find the third highest salary?
What is mdb stand for?
What is materialized view. What are different methods of refresh?
What is the need of merge statement?
Oracle (3253)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)