Explore our extensive collection of questions and answers to enhance your learning experience and prepare for exams effectively
FORMAT() formats a date or number value into a specified string format, depending on the SQL database.
CROSS JOIN produces a Cartesian product, combining every row from one table with every row from another.
ORDER BY specifies the order (ASC or DESC) in which the result set is sorted.
ROW_NUMBER() assigns a unique sequential number to each row within a partition of a result set.
COUNT(DISTINCT) returns the number of unique values in a specified column.
RIGHT JOIN returns all rows from the right table and the matching rows from the left table, with NULLs for non-matches.
MIN() returns the smallest value in a specified column of a SQL query result.
The BETWEEN operator selects values within a specified range, inclusive of the endpoints.
TRUNCATE removes all rows from a table while preserving the table structure and constraints.
CREATE DATABASE creates a new database in the SQL server.