Database
Database
What is the correct syntax to add a NOT NULL constraint to an existing column?
SQL, the keyword used to retrieve unique values from the result set is
C. DISTINCT
Which of the following operations will generate the Cartesian product of two tables?
A. Cross Join
Which operator is used to compare a single value to a list of values using inequality comparison?
B. ANY
Which type of subquery is executed once and its result used by the outer query?
C. Simple Subquery
C. Inner Join
A. CONCAT
B. HAVING
Which relational set operator returns only rows appearing in both queries?
B. INTERSECT
Which clause is used to process groups of rows that share the same values?
C. GROUP BY
A single value
Wich operator combines rows from two queries, returning all duplicates?
C. UNION ALL
B. WHERE
What is the correct syntax for selecting specific columns from a table?
Which SQL operator checks whether a value matches any value in a list?
A. IN
Which is the correct syntax for using the BETWEEN operator in SQL?
B. *
C. To undo changes
Which command would be used to change the structure of a table by adding a column?
C. ALTER
A. 31. A full outer join returns unmatched rows from both tables.
A. 35. UNION operator returns distinct rows from both sets of queries.
B. 36.The NOT NULL constraint ensures a column is unable to accept null values.
III. Identification.
left outer join 42. What do you call a join that returns rows matching the join
condition but also rows from the left table with uninitialized values?
trigger 43.What is the term for procedural SQL code that is automatically invoked by
stored procedure 44.A ____ is a named collection of procedural and SQL statements is known as ____.
commit 48. SQL command that permanently saves changes made to a table.
relation 49.A table with at least two attributes is also called a ____.
union 50. The SQL command used to combine rows from two queries without duplicates.