Tag Archives: structure

View the Exhibits and examine the structure of the COSTS and PROMOTIONS tables. You want to display PROD_IDS

View the Exhibits and examine the structure of the COSTS and PROMOTIONS tables.You want to display PROD_IDS whose promotion cost is less than the highest cost PROD_ID in a promotion time interval.Examine this SQL statement:Exhibit 1.Exhibit 2.What will be the result? A. It gives an error because the ALL keyword is not valid B. It executes successfully but… Read More »

Which three statements are true about the structure of a Java class? (Choose three.)

Which three statements are true about the structure of a Java class? (Choose three.) A. A public class must have a main method. B. A method can have the same name as a field. C. A class can have overloaded static methods. D. The methods are mandatory components of a class. E. The fields need not be initialized… Read More »

View the Exhibit and examine the structure of the PRODUCTS table. Which two tasks require subqueries?

View the Exhibit and examine the structure of the PRODUCTS table.Which two tasks require subqueries? (Choose two.) A. Display suppliers whose PROD_LIST_PRICE is less than 1000 B. Display the number of products whose PROD_LIST_PRICE is more than the average PROD_LIST_PRICE C. Display products whose PROD_MIN_PRICE is more than the average PROD_LIST_PRICE of all products, and whose status is… Read More »

Given the Customer table structure: * ID Number Primary Key * NAME Text Nullable Given code fragment:

Given the Customer table structure:* ID Number Primary Key* NAME Text NullableGiven code fragment:Which statement inserted on line 14 sets NAME column to a NULL value? A. Stmt.setNull(2 string, class); B. Stmt.setNull(2, java.lang, string); C. Stmt.setNull(2, java,sql. Types, VARCHAR); D. Stmt.setNull(2, null); Correct Answer: C

View the Exhibits and examine the structure of the COSTS and PROMOTIONS tables. You want to display PROD_IDS

View the Exhibits and examine the structure of the COSTS and PROMOTIONS tables.You want to display PROD_IDS whose promotion cost is less than the highest cost PROD_ID in a promotion time interval.Examine this SQL statement:Exhibit 1.Exhibit 2.What will be the result? A. It executes successfully but does not give the required result B. It gives an error because… Read More »

View the Exhibits and examine the structure of the COSTS and PROMOTIONS tables. You want to display PROD_IDS

View the Exhibits and examine the structure of the COSTS and PROMOTIONS tables.You want to display PROD_IDS whose promotion cost is less than the highest cost PROD_ID in a promotion time interval.Examine this SQL statement:Exhibit 1.Exhibit 2.What will be the result? A. It executes successfully but does not give the required result B. It gives an error because… Read More »

View the Exhibits and examine the structure of the COSTS and PROMOTIONS tables. You want to display PROD_IDS

View the Exhibits and examine the structure of the COSTS and PROMOTIONS tables.You want to display PROD_IDS whose promotion cost is less than the highest cost PROD_ID in a promotion time interval.Examine this SQL statement:Exhibit 1.Exhibit 2.What will be the result? A. It gives an error because the ALL keyword is not valid B. It executes successfully and… Read More »

View the Exhibits and examine the structure of the COSTS and PROMOTIONS tables. You want to display PROD_IDS

View the Exhibits and examine the structure of the COSTS and PROMOTIONS tables.You want to display PROD_IDS whose promotion cost is less than the highest cost PROD_ID in a promotion time interval.Examine this SQL statement:Exhibit 1.Exhibit 2.What will be the result? A. It executes successfully and gives the required result B. It gives an error because the ALL… Read More »