MCQs > IT & Programming > MySQL > Considering table foo has been created with:

create table foo (id int primary key auto_increment, name varchar(100));

Is the following query syntactically valid?

delete from foo where id = id-1;

MySQL MCQs

Considering table foo has been created with:

create table foo (id int primary key auto_increment, name varchar(100));

Is the following query syntactically valid?

delete from foo where id = id-1;


Answer

Correct Answer: Yes

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