Multiple Choice
Which of the following queries will output the table contents when the value of the character field P_CODE is alphabetically less than 1558-QW1?
A) SELECT P_CODE,P_DESCRIPT,P_QOH,P_MIN,P_PRICE FROM PRODUCT WHERE P_CODE <'1558-QW1';
B) SELECT P_CODE,P_DESCRIPT,P_QOH,P_MIN,P_PRICE FROM PRODUCT WHERE P_CODE = [1558-QW1];
C) SELECT P_CODE,P_DESCRIPT,P_QOH,P_MIN,P_PRICE FROM PRODUCT WHERE P_CODE = (1558-QW1) ;
D) SELECT P_CODE,P_DESCRIPT,P_QOH,P_MIN,P_PRICE FROM PRODUCT WHERE P_CODE = {1558-QW1};
Correct Answer:

Verified
Correct Answer:
Verified
Q4: The SQL data type DATE stores date
Q26: U.S. state abbreviations are always two characters,
Q36: _is the process the DBMS uses to
Q52: The COUNT function is designed to tally
Q54: UPDATE tablename *****<br>[WHERE conditionlist];<br>The command replaces the
Q55: Data type selection is usually dictated by
Q63: The CHECK constraint is used to define
Q67: Although SQL commands can be grouped together
Q70: Most SQL implementations yield case-insensitive searches.
Q72: Rows can be grouped into smaller collections