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 31
Ngày làm bài: Hôm nay lúc 11:28:12 (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-
You are designing a database that will contain customer orders. Customers will be able to order multiple products each time they place an order. You review the database design, which is shown in the exhibit. You want to promote quick response times for queries and minimize redundant data. What should you do?
  A - 
(I) Create a new order table named OrderDetail. Add OrderID, ProductID, and Quantity columns to this table.
  B - 
Create a composite PRIMARY KEY constraint on the OrderID and ProductID columns of the Orders table.
  C - 
(II) Remove the ProductID and Quantity columns from the Orders table.
  D - 
Both A and C
2-
Which SQL keyword is used to eliminate duplicate rows in the results of a SQL SELECT query?
  A - 
UNIQUE
  B - 
SORT
  C - 
ORDER BY
  D - 
DISTINCT
3-
Conditions after the WHERE require single quotes(dấu nháy đơn) around the values for columns that have which data type?
  A - 
Char
  B - 
VarChar
  C - 
Integer
  D - 
Both A and B
4-
Which symbol is used in standard SQL as a wildcard to represent a single, unspecified character?
  A - 
% (percent sign)
  B - 
! (exclamation mark)
  C - 
_ (underscore)
  D - 
? (question mark)
5-
Given the table CUSTOMER(CustID, Name, PhoneNum, AcctBalance), what is the standard SQL query phrase to retrieve the Name and Phone Number of customers?
  A - 
SELECT CUSTOMER-Name AND CUSTOMER-PhoneNum
  B - 
SELECT (CUSTOMER-Name AND CUSTOMER-PhoneNum)
  C - 
SELECT Name, PhoneNum
  D - 
SELECT (Name, PhoneNum)
6-
Given the table STUDENT(StudentID, Name, Advisor), which of the following SQL statements would be used to add new student data to the STUDENT table?
  A - 
INSERT DATA STUDENT SET StudentID=123, Name='Jones', Advisor='Smith';
  B - 
INSERT INTO STUDENT VALUES (123, 'Jones', 'Smith');
  C - 
INSERT INTO STUDENT (New Student Data) VALUES (123, 'Jones', 'Smith');
  D - 
INPUT DATA STUDENT SET StudentID=123, Name=' Jones', Advisor='Smith';
7-
The order of the columns returned by an SQL SELECT statement are determined by the:
  A - 
ORDER BY clause.
  B - 
SORT BY clause.
  C - 
order they are listed in following SELECT.
  D - 
order they are listed in following WHERE.
8-
Which symbol is used in standard SQL as a wildcard to represent a series of one or more unspecified characters?
  A - 
% (percent sign)
  B - 
! (exclamation mark)
  C - 
_ (underscore)
  D - 
? (question mark)
9-
Which SQL keyword is used to specify a condition that rows must meet to be included in the results of an SQL SELECT query?
  A - 
SELECT
  B - 
FROM
  C - 
WHERE
  D - 
ORDER BY
10-
Which of the following is the correct SQL clause to sort the results of a SELECT query in reverse- alphabetic (ngược lại ABC) order using the Department field?
  A - 
SORT BY Department
  B - 
ORDER BY Department DESC
  C - 
SORT BY Department DESC
  D - 
SORT BY Department REVERSE
 
[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 Server - Bài 04
Trắc Nghiệm SQL - Bài 04
Trắc Nghiệm SQL - Bài 17
Trắc nghiệm SQL Server - Bài 19
Trắc Nghiệm SQL - Bài 22
Trắc Nghiệm Cơ Sở Dữ Liệu - Bài 06
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 12
Trắc Nghiệm SQL - Bài 19
Trắc Nghiệm Cơ Sở Dữ Liệu - Bài 51
Trắc Nghiệm Cơ Sở Dữ Liệu - Bài 09
Trắc Nghiệm Cơ Sở Dữ Liệu - Bài 07
Trắc nghiệm SQL Server - Bài 08
Trắc Nghiệm Cấu Trúc Dữ Liệu Và Giải Thuật - Bài 03
Trắc Nghiệm SQL - Bài 42
Trắc Nghiệm Cơ Sở Dữ Liệu - Bài 37
Trắc Nghiệm Cơ Sở Dữ Liệu - Bài 43
Trắc Nghiệm SQL - Bài 13
Trắc Nghiệm Cơ Sở Dữ Liệu - Bài 03
Trắc nghiệm SQL Server - Bài 06
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