试题详情
- 单项选择题 Examine the description of the CUSTOMERS table: CUSTOMER_ID NUMBER(4) NOT NULL CUSTOMER_NAME VARCHAR2(100) NOT NULL STREET_ADDRESS VARCHAR2(150) CITY_ADDRESS VARCHAR2(50) STATE_ADDRESS VARCHAR2(50) PROVINCE_ADDRESS VARCHAR2(50) COUNTRY_ADDRESS VARCHAR2(50) POSTAL_CODE VARCHAR2(12) CUSTOMER_PHONE VARCHAR2(20) The CUSTOMER_ID column is the primary key for the table. Which statement returns the city address and the number of customers in the cities Los Angeles or San Francisco?()
A、SELECT city_address, COUNT(*) FROM customers WHERE city _ address IN ('Los Angeles','San Fransisco');
B、SELECT city_address, COUNT (*) FROM customers WHERE city address IN ( 'Los Angeles', 'San Fransisco') GROUP BY city_address;
C、SELECT city_address, COUNT(customer_id) FROM customers WHERE city_address IN ( 'Los Angeles', 'San Fransisco') GROUP BY city_address, customer_ id;
D、SELECT city_address, COUNT (customer_id) FROM customers GROUP BY city_ address IN ('Los Angeles','San Fransisco');
- B
关注下方微信公众号,在线模考后查看
热门试题
- Which paramete
- 在循环语句中,退出循环体的关键字是()。
- Note the
- TheuserSYScreatesajo
- What is true about u
- Which statemen
- Examinethesectionoft
- You have
- You have
- Examine the&en
- Which tasks
- Examine the structu
- Which two̳
- Oracle Server由哪两个部分组
- ()代表了数据库中最小粒度的逻辑数据存储
- You are a
- The database&e
- You work a
- Examine the&ens
- You upgrade your Ora