Database MCQS - QUESTION DETAILS

In MySQL, which type of index allows only unique values and nulls are considered distinct?
A. PRIMARY KEY
B. UNIQUE
C. FULLTEXT
D. INDEX

'UNIQUE' indexes allow only unique values, and nulls are considered distinct.

Similar Questions

Which statement is used to remove all records from a table in MySQL?






In Oracle, what is the purpose of the BETWEEN operator?






Which Oracle statement is used to grant execute permissions on a stored procedure?






What does SQL stand for?






In Oracle, what is the purpose of the WITH clause?






Which MySQL data type is used to store a fixed-length string?






What does the SQL INNER JOIN clause do?






Which SQL Server statement is used to add a new row to a table?






In SQL Server, what is the purpose of the PI constant?






In SQL Server, what is the purpose of the PARSE() function?