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
Q14: The conditional LIKE must be used in
Q22: The special operator used to check whether
Q37: The SQL aggregate function that gives the
Q39: The command is used to restore the
Q41: A table can be deleted from the
Q43: According to the rules of precedence,which of
Q45: The command would be used to delete
Q47: The query to join the P_DESCRIPT and
Q48: Which of the following queries is used
Q49: Which of the following queries will output
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents