Tìm kiếm:
TRANG NHÀ
Giới thiệu VNEDU.ORG
Điều khoản và bản quyền
Liên lạc VNEDU
TRẮC NGHIỆM TRỰC TUYẾN
---Công Cụ:---
Soạn Biểu thức
Bảng màu HTML
Ký hiệu đặc biệt 01
Ký hiệu đặc biệt 02
Ký hiệu đặc biệt 03
Ký hiệu đặc biệt 04
Ký hiệu đặc biệt 05
Ký hiệu đặc biệt 06
Ký hiệu đặc biệt 07
Ký hiệu đặc biệt [Toán]
Tin Học   ||  Căn Bản    Văn Phòng    Hệ Thống - Mạng    Phần Mềm Ứng Dụng    Kỹ thuật số    Lập trình    SQL  

Trắc Nghiệm SQL - Bài 33
Ngày làm bài: Hôm nay lúc 17:28:11 (Server time)
Số câu hỏi: 10.   Tổng điểm: 10
Yêu cầu hoàn thành: 60 phút.
Thời gian còn lại: 
Cỡ chữ câu hỏi:  Cỡ chữ đáp án:


1-
A composite primary key can be defined using the CONSTRAINT phrase in which SQL command?
  A - 
MODIFY TABLE.
  B - 
CHANGE TABLE.
  C - 
CREATE TABLE.
  D - 
BUILD TABLE
2-
When the primary key of one relation is placed into a second relation, it is called a:
  A - 
referential integrity.
  B - 
foreign key.
  C - 
candidate key.
  D - 
relocated key.
3-
The industry standard supported by all major DBMS that allows tables to be joined together is called
  A - 
Structured Query Language
  B - 
Sequential Query Language
  C - 
All of these answers.
  D - 
None of these answers.
4-
Given the relational schema consisting of Supplier(Snumber,Sname,City), Part(Pnumber,Pname,Color) and Supplies(Snumber,Pnumber,Qty), which SQL query retrieves the Pnumber and the total quantity of that part supplied?
  A - 
Select Pnumber,sum(Qty) From Supplies Group By Pnumber;
  B - 
Select Pnumber,Qty From Supplies;
  C - 
Select sum(Qty) From Supplies;
  D - 
Select Sname, Pnumber, sum(Qty) From Part, Supplies Where Part.Pnumber = Supplies.Pnumber
Group by Sname,Pnumber;
5-
What will be returned when the following SQL statement is executed?
Select driver_no, count(*) as num_deliveries
from deliveries
where state = ’MA’
group by driver_no;

  A - 
A listing of all drivers who made deliveries to state = ’MA’, sorted by driver number.
  B - 
A listing of each driver who made deliveries to state = ’MA as well as the number of deliveries that each driver has made to that state.
  C - 
A count of all of the deliveries made to state = ’MA’ by all drivers.
  D - 
None of the above.
6-
Which of the following is the wildcard operator in SQL statements?
  A - 
<>
  B - 
*
  C - 
=
  D - 
&
7-
What results will be produced by the following SQL query?
Select sum(standard_price) as total_price
from product_v
where product_type = ’WOOD’;

  A - 
The total price of all products that are of type wood
  B - 
The total price of all products
  C - 
The standard_price of the first wood product in the table
  D - 
The standard_price of any wood product in the table
8-
To get all the customers from Hawaii sorted together, which of the following would be used?
  A - 
Order By
  B - 
Group By
  C - 
Having
  D - 
Sort
9-
What will be returned when the following SQL query is executed?
Select driver_no, count(*) as num_deliveries
from deliveries
group by driver_no
having count(*) > 2;

  A - 
A listing of all drivers who made more than 2 deliveries as well as a count of the number of deliveries
  B - 
A listing of all drivers
  C - 
A listing of the number of deliveries greater than 2
  D - 
A listing of all drivers who made more than 2 deliveries
10-
Given a table with the structure: EMPLOYEE (EmpNo, Name, Salary, HireDate), which of the following is not a valid ANSI SQL command?
  A - 
SELECT *
FROM EMPLOYEE
WHERE Name LIKE ’Ja%’;
  B - 
SELECT HireDate, COUNT(*)
FROM EMPLOYEE
WHERE Salary < 30000;
  C - 
SELECT COUNT(*)
FROM EMPLOYEE
WHERE Salary < 30000;
  D - 
SELECT HireDate, COUNT(*)
FROM EMPLOYEE
GROUP BY HireDate;
 
[Người đăng: Thành Lãm - ST]
Ghé thăm Kênh của Vị Sư "hai lần chết đi sống lại"
Tu Si Chau Soc Thon

https://www.youtube.com/channel/UCoyC9WTTVR-M3qpTKKEXGnQ

Chau Soc Thon Official Channel


Phong Bảo Official
Phong Bao Official
Xem Nhiều nhất
Trắc Nghiệm Cơ Sở Dữ Liệu - Bài 01
Trắc Nghiệm Cấu Trúc Dữ Liệu Và Giải Thuật - Bài 04
Trắc Nghiệm Cấu Trúc Dữ Liệu Và Giải Thuật - Bài 06
Trắc nghiệm SQL Server - Bài 20
Trắc Nghiệm Cấu Trúc Dữ Liệu Và Giải Thuật - Bài 01
Trắc nghiệm SQL Server - Bài 03
Trắc Nghiệm Cơ Sở Dữ Liệu - Bài 08
Trắc Nghiệm Cơ Sở Dữ Liệu - Bài 43
Trắc nghiệm SQL Server - Bài 06
Trắc Nghiệm Cơ Sở Dữ Liệu - Bài 02
Trắc Nghiệm Cơ Sở Dữ Liệu - Bài 14
Trắc nghiệm SQL Server - Bài 13
Trắc nghiệm SQL Server - Bài 05
Trắc Nghiệm Cấu Trúc Dữ Liệu Và Giải Thuật - Bài 05
Trắc nghiệm SQL Server - Bài 01
Trắc nghiệm SQL Server - Bài 04
Trắc Nghiệm Cấu Trúc Dữ Liệu Và Giải Thuật - Bài 03
Trắc Nghiệm Cấu Trúc Dữ Liệu Và Giải Thuật - Bài 07
Trắc Nghiệm SQL - Bài 42
Trắc Nghiệm Cơ Sở Dữ Liệu - Bài 16
Đề Xuất
Trắc Nghiệm SQL - Bài 28
Trắc Nghiệm SQL - Bài 42
Trắc Nghiệm SQL - Bài 21
Trắc Nghiệm Cấu Trúc Dữ Liệu Và Giải Thuật - Bài 11
Trắc Nghiệm SQL - Bài 03
Trắc Nghiệm SQL - Bài 24
Trắc Nghiệm SQL - Bài 32
Trắc Nghiệm Thực Hành SQL - Bài 15
Trắc Nghiệm Cơ Sở Dữ Liệu - Bài 12
Trắc Nghiệm Cấu Trúc Dữ Liệu Và Giải Thuật - Bài 09
Trắc Nghiệm Cơ Sở Dữ Liệu - Bài 10
Trắc Nghiệm Cơ Sở Dữ Liệu - Bài 18
Trắc Nghiệm Cơ Sở Dữ Liệu - Bài 21
Trắc Nghiệm SQL - Bài 16
Trắc Nghiệm SQL - Bài 30
Trắc Nghiệm Cơ Sở Dữ Liệu - Bài 02
Trắc Nghiệm SQL - Bài 05
Trắc Nghiệm SQL - Bài 33
Trắc Nghiệm Cơ Sở Dữ Liệu - Bài 52
Trắc Nghiệm Cơ Sở Dữ Liệu - Bài 17
Phát triển hệ thống: TRƯƠNG HỮU ĐỨC - Phiên bản 3.0 - © Copyright 2013 - 2024 - VNEDU.ORG

free counters