【单选题】【消耗次数:1】
设有订单表order(其中包括的字段有订单号、客户号、职员号、签订日期、金额),查询2007年所签订单的信息,并按金额降序排序,正确的SQL命令是
SELECT*FROM order WHERE YEAR(签订日期)=2007 BY 金额 DESC
SELECT*FROM order WHILE YEAR(签订日期)=2007 BY 金额 ASC
SELECT*FROM order WHERE YEAR(签订日期)=2007 BY 金额 ASC
SELECT*FROM order WHILE YEAR(签订日期)=2007 BY 金额 DESC
参考答案:
复制
纠错
相关题目
【判断题】 执行命令“select * from sb order by 价格 DESC,启用日期 asc”,将查询表中所有设备的基本情况,查询结果按价格降序排,价格相同再按启用日期升序排
①  正确
②  错误
【判断题】 执行命令“select from sb field 名称 where year(启用日期)=1990”,将查询1990年启用设备的名称
①  正确
②  错误
【判断题】 执行命令“select * from sb order by 启用日期”,将查询表中所有设备的基本情况,查询结果按启用日期升序排
①  正确
②  错误
【单选题】 对由 SELECT—FROM—WHERE—GROUP—ORDER 组成的 SQL 语句,其在被 DBMS 处理时,各子句的执序次序为( )。
①  A.SELECT—FROM—GROUP—WHERE—ORDER
②  B.FROM—SELECT—WHERE—GROUP—ORDER
③  C.FROM—WHERE—GROUP—SELECT—ORDER
④  D.SELECT—FROM—WHERE—GROUP—ORDER
【判断题】 执行命令“select * from sb order by 价格 DESC”,将查询表中所有设备的基本情况,查询结果按价格升序排
①  正确
②  错误
【判断题】 执行命令“select from sb field启用日期where 名称=车床”,将查询名称为车床设备的启用日期
①  正确
②  错误
【判断题】 执行命令“select from sb field 启用日期 where 名称=车床”,将查询名称为车床的设备
①  正确
②  错误
【判断题】 执行命令“select from sb field 名称 where 启用日期<{^1990/12/31}”,将查询1990年后启用设备的名称
①  正确
②  错误
【判断题】 In dates, a comma is used to separate the day and the year if the order is day—month—year.
①  正确
②  错误
【单选题】 已知SN是一个字符型字段,下列SQL查询语句SELECT SN FROM S WHERE SN LIKE ‘AB%’;的执行结果为( )。
①  找出含有3个字符′AB%′的所有SN字段
②  找出仅含3个字符且前两个字符为′AB′的SN字段
③  找出以字符′AB′开头的所有SN字段
④  找出含有字符′AB′的所有SN字段
随机题目
【单选题】 The History of Tom Jones, a Foundling written by Henry Fielding is a/an __________
①  Essay
②  Novel
③  Prose
④  Poem
【单选题】 The essence of Renaissance, the most significant intellectual movement, was_____.
①  Geographical exploration
②  Religious reformation
③  Publishing and translation
④  Humanism
【单选题】 In which of the following works can you find the proper names Lilliput, Brobdingnag, Houyhnhnm and Yahoo”?
①  The Pilgrim’s Progress
②  The FarrieQueene
③  Gulliver’s Travels
④  The School of Scandal
【单选题】 The epic Paradise Lost is based on the stories from _______.
①  The New Testament
②  The Old Testament
③  The Ancient Greek Myths
④  The Ancient Roman Myths
【单选题】 Shakespeare’s greatest tragedies are the following works except ____.
①  Hamlet
②  King Lear
③  Romeo and Juliet
④  Othello
【单选题】 Which of the following is NOT true about The Canterbury Tales?
①  It is written in the form of a dream.
②  Chaucer chose a pilgrimage as the framework for the stories.
③  It is written for the greater part in heroic couplet.
④  “The General Prologue” introduces the pilgrims, the time and occasion of the pilgrimage.
【单选题】 Beowulf, the oldest great long poem ever written in English, is composed in a form of____.
①  epics
②  lyrics
③  folk songs
④  sagas
【单选题】 What meaning is referred to if we say the meaning of “dog” is friendship and loyalty?
①  denotative meaning
②  connotative meaning
③  literal meaning
④  labeled meaning.
【单选题】 What does it mean to know a word?
①  know its pronunciation and stress
②  know its spelling and grammatical properties
③  know its meaning and know when and how to use it
④  all of the above.
【单选题】 Which of the following statement is not true about vocabulary?
①  a vocabulary item can be more than one word
②  Vocabulary can not be taught. It must be learned by the individuals
③  Words are best learned in context
④  An English-English dictionary is an important aid for students.