• 2022-05-28 问题

    price BETWEEN 50 AND 100 等价于 price>50 AND price<100。( )

    price BETWEEN 50 AND 100 等价于 price>50 AND price<100。( )

  • 2022-06-15 问题

    在SQL Server 数据库中,从product表里查询出price(价格)高于pName(产品名称)为“一次性纸杯”所有记录中最高价格的产品的查询语句为( )。 A: SELECT * FROM product WHERE max(price)>'一次性纸杯' B: SELECT * FROM product WHERE price>(SELECT max(*) FROM product WHERE pName= '一次性纸杯') C: SELECT * FROM product WHERE EXISTS pName='一次性纸杯' D: SELECT * FROM product WHERE price>(SELECT max(price) FROM product WHERE pName='一次性纸杯')

    在SQL Server 数据库中,从product表里查询出price(价格)高于pName(产品名称)为“一次性纸杯”所有记录中最高价格的产品的查询语句为( )。 A: SELECT * FROM product WHERE max(price)>'一次性纸杯' B: SELECT * FROM product WHERE price>(SELECT max(*) FROM product WHERE pName= '一次性纸杯') C: SELECT * FROM product WHERE EXISTS pName='一次性纸杯' D: SELECT * FROM product WHERE price>(SELECT max(price) FROM product WHERE pName='一次性纸杯')

  • 2022-06-19 问题

    检查约束中,要求价格大于20,表达式为()。 A: …… check (price >20) B: …… check (price <30) C: …… check (price between 20 and 30) D: 都不是

    检查约束中,要求价格大于20,表达式为()。 A: …… check (price >20) B: …… check (price <30) C: …… check (price between 20 and 30) D: 都不是

  • 2022-06-16 问题

    查询不比计算机类图书便宜的书,语句中SELECT name ,price from book where price____(select price from book where category='计算机')缺省的部分应是()。 A: > all B: > any C:

    查询不比计算机类图书便宜的书,语句中SELECT name ,price from book where price____(select price from book where category='计算机')缺省的部分应是()。 A: > all B: > any C:

  • 2022-06-12 问题

    下列多条件查询使用正确的有() A: B: and查询db.collection.find({ $and : [ { "age" : {$gt : 10 }} , { "gender" : "man" } ]}) C: #or查询db.collection.find({ $or : [ {"age" : {$gt : 10 }}, { "gender" : "man"} ]}) D: E: and查询和or查询db.inventory.find( { $and : [ { $or : [ { price : 0.99 }, { price : 1.99 } ] }, { $or : [ { sale : true }, { qty : { $lt : 20 } } ] } ]} ) F: G: and查询和or查询db.inventory.find( { $or: [ { $and : [ { price : 0.99 }, { price : 1.99 } ] }, { $: [ { sale : true }, { qty : { $lt : 20 } } ] } ]} )

    下列多条件查询使用正确的有() A: B: and查询db.collection.find({ $and : [ { "age" : {$gt : 10 }} , { "gender" : "man" } ]}) C: #or查询db.collection.find({ $or : [ {"age" : {$gt : 10 }}, { "gender" : "man"} ]}) D: E: and查询和or查询db.inventory.find( { $and : [ { $or : [ { price : 0.99 }, { price : 1.99 } ] }, { $or : [ { sale : true }, { qty : { $lt : 20 } } ] } ]} ) F: G: and查询和or查询db.inventory.find( { $or: [ { $and : [ { price : 0.99 }, { price : 1.99 } ] }, { $: [ { sale : true }, { qty : { $lt : 20 } } ] } ]} )

  • 2022-05-28 问题

    下列选项中与“WHERE (id,price)=(3,1999)”功能相同的是( ) A: WHERE id=3 || price=1999 B: WHERE id=3 && price=1999 C: WHERE (id,price)<>(3,1999) D: 以上选项都不正确

    下列选项中与“WHERE (id,price)=(3,1999)”功能相同的是( ) A: WHERE id=3 || price=1999 B: WHERE id=3 && price=1999 C: WHERE (id,price)<>(3,1999) D: 以上选项都不正确

  • 2022-06-16 问题

    查询比计算机类图书便宜的书,语句中 SELECT name ,price from book where price____ (select price from book where category='计算机')缺省的部分应是()。 A: > all B: > any C: < any D: < all

    查询比计算机类图书便宜的书,语句中 SELECT name ,price from book where price____ (select price from book where category='计算机')缺省的部分应是()。 A: > all B: > any C: < any D: < all

  • 2021-04-14 问题

    以下代码的输出结果是()。publicclassTest{publicstaticvoidmain(String[]args){double[]price=newdouble[5];price[0]=98.10;price[1]=32.18;price[2]=77.75;System.out.print((int)price[0]+""+(int)price[1]+""+(int)price[2]+""+(int)price[3]+""+(int)price[4]);}}

    以下代码的输出结果是()。publicclassTest{publicstaticvoidmain(String[]args){double[]price=newdouble[5];price[0]=98.10;price[1]=32.18;price[2]=77.75;System.out.print((int)price[0]+""+(int)price[1]+""+(int)price[2]+""+(int)price[3]+""+(int)price[4]);}}

  • 2022-05-27 问题

    设变量已正确定义,选项()与以下程序段不等价。switch(choice){case1:price=3.0;case2:price=2.5;default:price=0.0;}A.price=0.0;B.switch(choice){default:price=0.0;case2:price=2.5;case1:price=3.0;}C.price=0.0;switch(choice){case1:price=3.0;case2:price=2.5;}D.if(choice==1){price=3.0;price=2.5;price=0.0;}elseif(choice==2){price=2.5;price=0.0;}else{price=0.0;}

    设变量已正确定义,选项()与以下程序段不等价。switch(choice){case1:price=3.0;case2:price=2.5;default:price=0.0;}A.price=0.0;B.switch(choice){default:price=0.0;case2:price=2.5;case1:price=3.0;}C.price=0.0;switch(choice){case1:price=3.0;case2:price=2.5;}D.if(choice==1){price=3.0;price=2.5;price=0.0;}elseif(choice==2){price=2.5;price=0.0;}else{price=0.0;}

  • 2022-05-28 问题

    A—cost price B—factory priceC—net price D—price free on boardE—purchase price F—sale priceG—wholesale price H—purchase priceI—fixed price J—guaranteed priceK—cash price L—market priceM—preferential price N—piece priceO—price control P—maximum priceQ—minimum price ()批发价()单位价格

    A—cost price B—factory priceC—net price D—price free on boardE—purchase price F—sale priceG—wholesale price H—purchase priceI—fixed price J—guaranteed priceK—cash price L—market priceM—preferential price N—piece priceO—price control P—maximum priceQ—minimum price ()批发价()单位价格

  • 1 2 3 4 5 6 7 8 9 10