Explore our extensive collection of questions and answers to enhance your learning experience and prepare for exams effectively
The LIKE operator is used in WHERE clauses to search for patterns in string data, using wildcards like % and _.
DROP removes an entire table, including its structure, from the database.
CURRENT_TIMESTAMP() returns the current date and time based on the database server’s settings.
A subquery is a query nested within another query, used to filter or compute intermediate results.
MAX() returns the largest value in a specified column of a SQL query result.
UPDATE modifies existing rows in a table based on specified conditions.
UNION combines the result sets of multiple SELECT queries, removing duplicates by default.
LEFT JOIN returns all rows from the left table and the matching rows from the right table, with NULLs for non-matches.
AVG() calculates the average value of a numeric column in a SQL query.
GROUP BY aggregates data into groups, often used with functions like COUNT, SUM, or AVG.