Tag Archives: display

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 »

Given the code fragment: (Exhibit) You want to display the value of currency as $100.00. Which code inserted

Given the code fragment:You want to display the value of currency as $100.00.Which code inserted on line 1 will accomplish this? A. NumberFormat formatter = NumberFormat.getCurrencyInstance(locale); B. NumberFormat formatter = NumberFormat.getInstance(locale).getCurrency(); C. NumberFormat formatter = NumberFormat.getCurrency(locale); D. NumberFormat formatter = NumberFormat.getInstance(locale); Correct Answer: B

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 »

Examine the description of the CUSTOMERS table: (Exhibit) You want to display details of all customers

Examine the description of the CUSTOMERS table:You want to display details of all customers who reside in cities starting with the letter D followed by at least two characters.Which query can be used? A. SELECT * FROM customers WHERE city LIKE `D_’; B. SELECT * FROM customers WHERE city = `%D_’; C. SELECT * FROM customers WHERE city… 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 »

Examine the description of the CUSTOMERS table: (Exhibit) You want to display details of all customers

Examine the description of the CUSTOMERS table:You want to display details of all customers who reside in cities starting with the letter D followed by at least two characters.Which query can be used? A. SELECT * FROM customers WHERE city = `D_%’; B. SELECT * FROM customers WHERE city LIKE `D_%’; C. SELECT * FROM customers WHERE city… Read More »

Examine the description of the CUSTOMERS table: (Exhibit) You want to display details of all customers

Examine the description of the CUSTOMERS table:You want to display details of all customers who reside in cities starting with the letter D followed by at least two characters.Which query can be used? A. SELECT * FROM customers WHERE city LIKE ‘D_’; B. SELECT * FROM customers WHERE city = ‘%D_’; C. SELECT * FROM customers WHERE city… 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 GROUP BY clause is not valid B. It gives an… Read More »