What is the difference between UNIQUE and DISTINCT keywords in DBMS?
First we declare is as primary key and after group by we can get uniqu values.
CREATE TABLE Persons (
ID int NOT NULL,
LastName varchar(255) NOT NULL,
FirstName varchar(255),
Age int,
PRIMARY KEY (ID)
);
SELECT ID, LastName,FirstName
FROM Persons
GROUP BY ID, LastName,FirstName;
Is This Answer Correct ? | 0 Yes | 0 No |
What do you mean by subquery?
Can two tables have the same primary key?
List out some of the requirements to set up a sql server failover cluster?
What are the differences between left join and inner join in sql server?
What is bcnf normalization form?
Is sql server difficult to learn?
What stored by the tempdb ? : sql server database administration
what is the primary use of the model database? : Sql server administration
Explain what is it unwise to create wide clustered index keys?
What is an Index?
1.What is the deferece between DBMS & RDBMS? 2.How can you trouble shoot? If u will get error while installing sql server? 3.How can u trouble shoot slow running query? 4.how can u trouble log shipping errors? 5.why do we use merge replication instead of T.log replication?
How to write the storeprocedure with in the store procedure? and how can we write the store procedure with in a trigger vice versa? plz post me the exact answer?