Câu 20: LX0-104: CompTIA Linux+ Powered by LPI 2
Which of the following SQL queries counts the number of occurrences for each value of the field order_type in the table orders?
Nội dung câu hỏi
Which of the following SQL queries counts the number of occurrences for each value of the field order_type in the table orders?
Các lựa chọn
Đáp án được giữ gọn theo nhãn A, B, C, D trong phần bình chọn tương tác.
- A. SELECT order_type,COUNT(*) FROM orders WHERE order_type=order_type;
- B. SELECT order_type,COUNT(*) FROM orders GROUP BY order_type; — đáp án hiện tại
- C. COUNT(SELECT order_type FROM orders);
- D. SELECT COUNT(*) FROM orders ORDER BY order_type;
- E. SELECT AUTO_COUNT FROM orders COUNT order_type;
Cộng đồng
0 bình luận công khai. Tên thành viên được ẩn một phần.
Chưa có bình luận. Mở giao diện tương tác để bắt đầu thảo luận.