Database MCQS - QUESTION DETAILS

Which MySQL statement is used to create a unique constraint on a column?
A. UNIQUE
B. ADD UNIQUE
C. CONSTRAINT UNIQUE
D. CREATE CONSTRAINT

'ADD UNIQUE' is used to create a unique constraint on a column in MySQL.

Similar Questions

What is the purpose of the Oracle RANK() function?






Which statement is used to delete records from a table in SQL Server?






What does T-SQL stand for in the context of SQL Server?






Which SQL Server data type is used to store a date and time combination?






Which command is used to select all columns from a table named "employees"?






Which SQL Server statement is used to remove a table from a database?






Which Oracle statement is used to remove a table from a database?






What does the SQL INNER JOIN clause do?






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






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