多項(xiàng)選擇題SQL語言中,是邏輯運(yùn)算符號的()

A.AND
B.NOT
C.OR
D.XOR


您可能感興趣的試卷

你可能感興趣的試題

2.多項(xiàng)選擇題Northwind數(shù)據(jù)庫中有一名為Products的表用于存放所有產(chǎn)品的信息,現(xiàn)在要想列出所有單價(jià)(UnitPrice)在20和40元之間的產(chǎn)品信息,則下列滿足要求的SQL語句有()

A.SELECT * FROM Products WHERE UnitPrice >= 20 OR UnitPrice <= 40 
B.SELECT * FROM Products WHERE UnitPrice BETWEEN 20 OR 40
C.SELECT * FROM Products WHERE UnitPrice >= 20 AND UnitPrice <= 40
D.SELECT * FROM Products WHERE UnitPrice BETWEEN 20 AND 40

3.多項(xiàng)選擇題某公司使用SQLServer作為數(shù)據(jù)信息存儲的平臺,其中Sales數(shù)據(jù)庫有一個(gè)用于存放產(chǎn)品信息的表Products?,F(xiàn)在銷售部門的人員臨時(shí)需要一張商品價(jià)格表,要求列出所有產(chǎn)品的名稱和其單價(jià),并且以中文顯示列名,那么下面SQL語句中可以滿足條件的是()

A.SELECT Product Name AS’產(chǎn)品的名稱’,Unit Price  AS’單價(jià)’FROM Products
B.SELECT Product Name=產(chǎn)品的名稱,Unit Price=單價(jià)FROM Products
C.SELECT Product Name=“產(chǎn)品的名稱”,Uni tPrice=“單價(jià)”FROM Products
D.SELECT Product Name’產(chǎn)品的名稱’,Unit Price’單價(jià)’FROM Products

4.多項(xiàng)選擇題在SQLServer數(shù)據(jù)庫(排序規(guī)則為默認(rèn)值)中,有一個(gè)產(chǎn)品表products,你想按照價(jià)格從小到大的順序顯示所有產(chǎn)品的名稱(productname)和價(jià)格(price),可以實(shí)現(xiàn)該功能的T-SQL語句是()

A.SELECT productname,price from products order by price ASC
B.SELECT productname,price from products order by price DESC
C.SELECT productname,price from products order by price
D.SELECT productname and price from products order by price DESC

5.多項(xiàng)選擇題如下能正確執(zhí)行的語句是()

A.select * from table_name where 1<=2
B.truncate table table_name
C.delete from table_name where null=null
D.alter table table_name add column idd int