adplus-dvertising
frame-decoration

Question

Which column attribute provides unique numbers for identification?

a.

AUTO_INCREMENT

b.

UNSIGNED

c.

IDENTIFY

d.

DESCRIBE

Posted under MySQL Database

Answer: (a).AUTO_INCREMENT

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Which column attribute provides unique numbers for identification?

Similar Questions

Discover Related MCQs

Q. There can be only one column per table with the AUTO_INCREMENT attribute.

Q. The AUTO_INCREMENT sequences normally begin at __________

Q. The value of recently generated sequence number can be obtained by ____________

Q. When no AUTO_INCREMENT value has been generated during the current connection, LAST_INSERT_ID() returns ____________

Q. The ‘LAST_INSERT_ID()’ is tied only to the ‘AUTO_INCREMENT’ values generated during the current connection to the server.

Q. Suppose the last row has the AUTO_INCREMENT column value 32. Suppose a new row is added by setting AUTO_INCREMENT value equal to 100. The next row added will have value _____________

Q. The number of rows in the table is 10. Suppose all rows are deleted. The new row starts with sequence number _____________

Q. In a MyISAM table, if the maximum value of an AUTO_INCREMENT increment column is 12 and that row is deleted, the next value generated is _____________

Q. In MyISAM tables, when a table is emptied with the TRUNCATE TABLE, the counter begins at _____________

Q. The expression 12 DIV 5 evaluates to ____________

Q. If the PIPES_AS_CONCAT is disabled, ‘abc’ || ‘xyz’ results in ____________

Q. ‘abc’ || ‘xyz’, when PIPES_AS_CONCAT is enabled, results in ____________

Q. The expression ‘2 BETWEEN 2 AND 5’ results in ____________

Q. REGEXP takes collation into account.

Q. The expression ‘HI’ LIKE NULL results in _____________

Q. If the operands are non binary strings, LIKE compares them according to their collation.

Q. The number of strings among the following matched with ‘%all%’ is _____________

Ball, baller, tall, tallest

Q. Which of the following is the correct order of precedence (high to low)?

Q. 0x61 + 0 results in _____________

Q. The AUTO_INCREMENT column attribute is best used with which type?