Explain some of the keywords of Select Statement like Distinct Keyword, Top n Keyword with an example for each of them.
DISTINCT: Distinct clause helps to remove duplicates and returns a result set.
Syntax:DISTINCT (set_expression)
Example:Select DISTINCT company_name FROM Company;
TOP N: returns the top ānā records from a table.
Syntax : TOP N
Example:Select TOP 10 Cust_name from Customer;