Database MCQS - QUESTION DETAILS

In MySQL, what is the purpose of the AUTO_INCREMENT attribute?
A. Automatically increments the value of a column
B. Sets a column to a predefined value
C. Allows NULL values in a column
D. Adds a default value to a column

AUTO_INCREMENT automatically increments the value of a column in MySQL.

Similar Questions

What is the purpose of the SQL AVG() function?






Which Oracle statement is used to create a new table in a database?






Which SQL statement is used to change the value of an existing record in a table?






In SQL Server, what is the purpose of the LIKE operator?






Which MySQL statement is used to update values in a table based on a condition?






In MySQL, what is the purpose of the COUNT() function with DISTINCT?






In MySQL, what is the purpose of the DESC keyword in an ORDER BY clause?






Which SQL statement is used to add a new column to an existing table?






Which SQL Server statement is used to remove a user's privileges?






Which SQL Server statement is used to update values in a table based on a condition?