Chinaunix首页 | 论坛 | 博客
  • 博客访问: 21950
  • 博文数量: 36
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 210
  • 用 户 组: 普通用户
  • 注册时间: 2021-11-30 10:47
文章分类
文章存档

2022年(28)

2021年(8)

我的朋友

分类: Oracle

2022-01-14 15:48:38

14、choose one

Examine the description of the CUSTOMERS table:

name null? type

------------------------

CUST_ID NOT NULL VARCHAR2(6)

FIRST_NAME VARCHAR2(50)

LAST_NAME NOT NULL VARCHAR2(50)

ADDRESS VARCHAR2(50)

CITY VARCHAR2(50)

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 LIKE ‘D_’;

D. SELECT * FROM customers WHERE city = ‘D_%’;

Source : cuug

阅读(190) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~