Curioustab
Aptitude
General Knowledge
Verbal Reasoning
Computer Science
Interview
Take Free Test
Aptitude
General Knowledge
Verbal Reasoning
Computer Science
Interview
Take Free Test
Introduction to SQL Questions
When you need to remove duplicate rows from the output of a SELECT query, which SQL keyword should you include to return only unique rows?
In aggregation queries, what does the HAVING clause do, and how does it differ from WHERE when filtering results?
From a database theory perspective, what is SQL most accurately categorized as within the data stack?
When you run a valid SQL SELECT statement, what logical structure does the database return to the client (independent of how it is displayed by tools)?
In SQL predicates, the BETWEEN operator is used for which type of comparison when filtering rows in a WHERE clause?
Writing simpler multi-condition filters in SQL When three or more AND and OR conditions are being combined to test membership or non-membership in a list of values, which SQL keyword(s) make the expression clearer and easier to maintain?
Deleting rows from a table in SQL Which command correctly removes one or more rows from the table named CUSTOMER while allowing you to filter which rows are affected?
SQL as an ANSI standard Which technology was adopted as a national standard by ANSI in 1992 (often called SQL-92)?
Understanding the SQL WHERE clause What does the WHERE clause restrict when you run a SELECT statement against a table or view?
Inserting new rows with SQL In a relational database, which SQL statement is used to add (append) a new row into an existing table?
Sorting query results Which SQL clause is used to sort the rows returned by a query in ascending or descending order by one or more expressions?
Scope of SQL capabilities Which statement best describes what SQL can do across data definition and data manipulation tasks?
Reading data from tables Which SQL statement is used to query (read) data from a table or view and return a result set to the client?
Original goals of the SQL language What was SQL originally designed to accomplish within relational database systems?
Most companies keep at least two versions of any database they are using.
The SQL statement: SELECT Number1 + Number 2 AS Total FROM NUMBER_TABLE; adds two numbers from each row together and lists the results in a column named Total.
Microsoft Access has become ubiquitous, and being able to program in Access is a critical skill.
SQL is a data sublanguage.
SUM, AVG, MIN, and MAX can only be used with numeric columns.
The HAVING clause acts like a WHERE clause, but it identifies groups that meet a criterion, rather than rows.
1
2
3
4