Question
UPDATE person
SET lname=’s’,
Fname=’p’,
WHERE person_id<10;
/* person_id is a primary key */
a.
0-9
b.
1-6
c.
No row
d.
None of the mentioned
Posted under MySQL Database
Engage with the Community - Add Your Comment
Confused About the Answer? Ask for Details Here.
Know the Explanation? Add it Here.
Q. In the following MySQL command how many rows will be updated?
Similar Questions
Discover Related MCQs
Q. Which statement is used to delete an existing row from the table?
View solution
Q. Which statement is used for updating existing information in the table?
View solution
Q. Which among the following is the correct syntax for showing all tables in the database?
View solution
Q. Which command is used to show all tables that are stored in a database?
View solution
Q. Which Clause is used to select a particular table in Mysql?
View solution
Q. Which Clause is used to sort the stored data in alphabetical order?
View solution
Q. Which Clause is used to select a particular row from the set of row in an existing table?
View solution
Q. Which statement is used to select columns and rows from the table?
View solution
Q. What is the default value of column?
View solution
Q. Which among the following is the correct syntax for modifying the definition of an existing table?
View solution
Q. Which feature is used for the automatic increment of the column?
View solution
Q. Which statement can be used for modifying the definition for an existing table?
View solution
Q. Is it necessary to insert the value in each column of the table?
View solution
Q. Which Statement is used to insert the values in the table?
View solution
Q. What default value gets stored in columns of the table?
View solution
Q. What is the meaning of “REFERENCES” in table definition?
View solution
Q. Which among the following are the correct definitions for “NULL” in Mysql?
View solution
Q. Which among the following is the correct syntax for defining “ENUM” in Mysql?
View solution
Q. Which data type character merges the “Check Constraint” into a data type definition?
View solution
Q. Which among the following is the correct syntax for defining “Constraint Check” in Mysql?
View solution
Suggested Topics
Are you eager to expand your knowledge beyond MySQL Database? We've curated a selection of related categories that you might find intriguing.
Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!