MCQs > IT & Programming > MySQL > Assume, you have a table inventory(id int, description text, price int). How can you change the type of price from int to decimal(10,2)?

MySQL MCQs

Assume, you have a table inventory(id int, description text, price int). How can you change the type of price from int to decimal(10,2)?

Answer

Correct Answer: alter table inventory modify price decimal(10,2)

Explanation:

Note: This Question is unanswered, help us to find answer for this one

MySQL Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

MySQL Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it