首页 > 数据库 > Oracle > OCP 1Z0-051-76
Which query would give the required output?
|
A. SELECT cust_first_name FROM customers WHERE INSTR(cust_first_name, 'e') <> 0 AND SUBSTR(cust_first_name, -2, 1) = 'a'; B. SELECT cust_first_name FROM customers WHERE INSTR(cust_first_name, 'e')<>'' AND SUBSTR(cust_first_name, -2, 1)='a'; C. SELECT cust_first_name FROM customers WHERE INSTR(cust_first_name, 'e')IS NOT NULL AND SUBSTR(cust_first_name, 1,-2)='a'; D. SELECT cust_first_name FROM customers WHERE INSTR(cust_first_name, 'e')<>0 AND SUBSTR(cust_first_name, LENGTH(cust_first_name),-2)='a'; |
解析:
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/17013648/viewspace-1162361/ ,如需转载,请注明出处,否则将追究法律责任。