What is the purpose of a primary key in a relational database?
What does the following SQL statement do? SELECT p.ProductID…
What does the following SQL statement do? SELECT p.ProductID, p.ProductName, COUNT(o.OrderID) AS NumberOfOrdersFROM Products pLEFT JOIN Orders o ON p.ProductID = o.ProductIDGROUP BY p.ProductID, p.ProductNameHAVING COUNT(o.OrderID) > 0;
Which event types can be used to activate a trigger in SQL?
Which event types can be used to activate a trigger in SQL?
Which of the following represents a one-to-many relationship…
Which of the following represents a one-to-many relationship in a database?
What is the difference between a composite attribute and a m…
What is the difference between a composite attribute and a multi-valued attribute in a database?
Which of the following is true when mapping a weak entity to…
Which of the following is true when mapping a weak entity to a relational schema?
Consider the relational schema below: Customer(CustomerID,…
Consider the relational schema below: Customer(CustomerID, CustomerName, Country) Product(ProductID, ProductName, Price) Purchase(CustomerID, ProductID, PurchaseDate) Salesperson(SalespersonID, SalespersonName, ProductID) To retrive the CustomerName and the total amount spent by customers who have made at least one purchase, which of the following SQL queries is correct?
Which of the following statements about Boyce-Codd Normal Fo…
Which of the following statements about Boyce-Codd Normal Form (BCNF) is correct?
Which of the following commands allows the user Bob to grant…
Which of the following commands allows the user Bob to grant SELECT permission to others on the table Sales?
60) The process of moving small amounts of food toward the t…
60) The process of moving small amounts of food toward the throat and swallowing is called ________.