Which of the following returns a scalar value?
To be in Third Normal Form (3NF)
To be in Third Normal Form (3NF)
Assuming that the tables and columns are correct and there i…
Assuming that the tables and columns are correct and there is valid data, what is the result of the following query? SELECT sales_person_id , SUM(sales_totals) FROM sales_records WHERE sales_person_id IN ( SELECT sales_person_id FROM employee INNER JOIN departments ON employee.departmentId = departments.departmentId AND departments.deparmentName = ‘Agriculture’ ) AND sales_records.quarter = 2 GROUP BY sales_person_id;
Assuming that the table and column names are correct, consid…
Assuming that the table and column names are correct, consider the following trigger: CREATE TRIGGER Product_Insert_Update ON Product AFTER INSERT, UPDATE AS UPDATE Product SET ProductCategory = LOWER(ProductCategory) WHERE ProductID IN (SELECT ProductID FROM Inserted) – the inserted ProductID ; What is the effect of running the following statements? INSERT INTO Product(ProductID, ProductName, ProductCategory) VALUES (‘1235453′,’Alpha 39′,’Alpha’); SELECT ProductID, ProductName, ProductCategory FROM Products WHERE ProductID = ‘1235453’;
Consider the following E-R diagram: The cardinality of Tabl…
Consider the following E-R diagram: The cardinality of Table_1 in the relationship is
When using the asterisk (*) in an aggregate function, such a…
When using the asterisk (*) in an aggregate function, such as COUNT(*), the asterisks represents:
If you wish to query two tables, returning all the records f…
If you wish to query two tables, returning all the records from the first table and only matching values from the second table, you would use a(n)
Which of the following returns a scalar value?
Which of the following returns a scalar value?
Table Alpha is defined with a single UNIQUE constraint on fi…
Table Alpha is defined with a single UNIQUE constraint on fields Beta and Delta together. This means
Which of the following uses the least amount of storage?
Which of the following uses the least amount of storage?