niusouti.com

The PRODUCTS table has these columns:PRODUCT_ID NUMBER(4)PRODUCT_NAME VARCHAR2(45)PRICE NUMBER(8,2)Evaluate this SQL statement:SELECT *FROM PRODUCTSORDER BY price, product _ name;What is true about the SQL statement? ()A. The results are not sorted.B. The

题目

The PRODUCTS table has these columns:PRODUCT_ID NUMBER(4)PRODUCT_NAME VARCHAR2(45)PRICE NUMBER(8,2)Evaluate this SQL statement:SELECT *FROM PRODUCTSORDER BY price, product _ name;What is true about the SQL statement? ()

A. The results are not sorted.

B. The results are sorted numerically.

C. The results are sorted alphabetically.

D. The results are sorted numerically and then alphabetically.


相似考题
参考答案和解析
参考答案:D
更多“The PRODUCTS table has these columns:PRODUCT_ID NUMBER(4)PRODUCT_NAME VARCHAR2(45)PRICE NU ”相关问题
  • 第1题:

    【其它】请完成本次上机实训,将答案保存为图片,然后上传图片! 解题思路: 1、约束price 字段(浮点类型)的值在1.00-100.00之间的check约束为:price ﹥=1.00 and price ﹤=100.00 2、设置时间默认值,用getdate(),或用'2019-12-12' 3、唯一键: unⅰque(product_name)


    实训1.doc

  • 第2题:

    23、假定 number=4,下面哪个语句不会出错?

    A.print(format(number, "2d"), format(number ** 1.5, "4d"))

    B.print(format(number, "2d"), format(number ** 1.5, "4.2d"))

    C.print(format(number, "2d"), format(number ** 1.5, "4.2f"))

    D.print(format(number, "2f"), format(number ** 1.5, "4.2d"))


    正确

  • 第3题:

    8、在SQL Server数据库中,有一个产品表products,想按照价格从小到大的顺序显示所有产品的名称(productname)和价格(price),可以实现该功能的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 from products order by price DESC


    C

  • 第4题:

    将students中的列变量重新命名为: (1)id_number, name, gender, score, has_graduate (2)选出Bob的性别gender,并存入变量bob_gender (3)选出列has_graduate,并存入向量status (4)创建数据框part_df,其中包含前三个学生的所有信息 (5)创建数据框rest_df,包含其余学生的所有信息


    AD

  • 第5题:

    16、MySQL数据库中,通常将用户写入对应的权限表来控制访问权限的,以下属于用户权限得选项()。

    A.User

    B.db

    C.table_priv

    D.columns_priv


    grant;insert