• 2022-06-12
    为查询Products表中,价格Price在5-10元之间的产品信息,请补全以下SELECT语句 SELECT ProductID,ProductName,Price FROM products WHERE_________ AND_________
    A: price>=5,price<=10
    B: price>5,price<10
    C: price<=5,price<=10
    D: price>=5,price>=10
  • A

    内容

    • 0

      If the price of a product decreases by 10 per cent and sales increase by 5 per cent, demand for that product would be said to be price inelastic.

    • 1

      以下代码的输出结果是()。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]);}}

    • 2

      如要使用一个SELECT语句来显示价格(price)小于5.0的id_number,应使用如下的哪个子句 A: WHERE price<5.00 B: HAVING price<5.00 C: ORDER BY price<5.00 D: GROUP BY price<5.00

    • 3

      下面在sh_goods表中根据cat_id升序排序,当cat_id相同时按price降序排序的语句是()。 A: SELECT * FROM sh_goods ORDER BY price DESC,cat_id; B: SELECT * FROM sh_goods ORDER BY price ,cat_id; C: SELECT * FROM sh_goods ORDER BY cat_id DESC,price; D: SELECT * FROM sh_goods ORDER BY cat_id,price DESC;

    • 4

      【单选题】显示图书信息表中不同书架图书的平均价格大于50元的书架号和平均价格。能得到正确结果的SELECT语句是 A: select casename,AVG(price) <br> from bookinfo group by casename where AVG(price)>50 B: select casename,AVG(price)>50 from bookinfo group by casename C: select casename,AVG(price) <br> from bookinfo<br> having AVG(price)>50 group by casename D: select casename,AVG(price) <br> from bookinfo group by casename<br> having AVG(price)>50