1

Find out the logical error in the following MySQL code snippet? CREATE TABLE person ( person_id VARCHAR(20), Name VARCHAR (20), Address VARCHAR (20), Mobile_no SMALLINT );

Correct Answer: Primary key is missing

Make the most of this question

This page focuses on one MySQL MCQs question from Programming. After checking the answer, return to the topic list to practice more or run a timed set.

MySQL MCQs MCQ: Find out the logical error in the following MySQL code snippet? CREATE TABLE person ( person_id VARCHAR(20), Name VARCHAR (20), Address VARCHAR (20), Mobile_no SMALLINT ); | Extra Education