The CUSTOMERS table has these columns:CUSTOMER_ID NUMBER (4) NOT NULLCUSTOMER_NAME VARCHAR2 (100) NOT NULLSTREET_ADDRESS VARCHAR2 (150)CITY_ADDRESS VARHCAR2 (50)STATE_ADDRESS VARCHAR2 (50)PROVINCE_ADDRESS VARCHAR2 (50)COUNTRY_ADDRESS VARCHAR2 (50)POSTAL_C

题目

The CUSTOMERS table has these columns:CUSTOMER_ID NUMBER (4) NOT NULLCUSTOMER_NAME VARCHAR2 (100) NOT NULLSTREET_ADDRESS VARCHAR2 (150)CITY_ADDRESS VARHCAR2 (50)STATE_ADDRESS VARCHAR2 (50)PROVINCE_ADDRESS VARCHAR2 (50)COUNTRY_ADDRESS VARCHAR2 (50)POSTAL_CODE VARCHAR2 (12)CUSTOMER_PHONE VARCHAR2 (20)The CUSTOMER_ID column is the primary key for the table.You need to determine how dispersed your customer base is.Which expression finds the number of different countries represented in the CUSTOMERS table?()

A. COUNT(UPPER(country_address))

B. COUNT(DIFF(UPPER(country_address)))

C. COUNT(UNIQUE(UPPER(country_address)))

D. COUNT DISTINTC UPPER(country_address)

E. COUNT(DISTINTC (UPPER(country_address)))


相似考题
更多“The CUSTOMERS table has these columns:CUSTOMER_ID NUMBER (4) NOT NULLCUSTOMER_NAME VARCHAR ”相关问题
  • 第1题:

    Excel的默认工作表分别命名为______。

    A.Sheetl,Sheet2,Sheet3,Sheet4,Sheet5

    B.Table1,Table2,Table3,Table4,Table5

    C.List1,List2,List3,List4,List5

    D.Book1,Book2,Book3,Book4,Book5


    正确答案:A

  • 第2题:

    将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

  • 第3题:

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

    A.User

    B.db

    C.table_priv

    D.columns_priv


    grant;insert

  • 第4题:

    Examinethecommand:SQL>DBMS_STATS.SET_TABLE_PREFS(’SH’,’CUSTOMERS’,’PUBLISH’,’false’);Whichstatementdescribestheeffectoftheabovecommand()

    A.AutomaticstatisticscollectionisstoppedfortheCUSTOMERStable.

    B.StatisticsfortheCUSTOMERStablearelockedandcannotbeoverwritten.

    C.ExistingstatisticsfortheCUSTOMERStablebecomeunusableforthequeryoptimizer.

    D.Subsequently,statisticsgatheredontheCUSTOMERStablearestoredaspendingstatistics


    参考答案:D

  • 第5题:

    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"))


    正确

  • 第6题:

    4、SQL Server的字符型系统数据类型主要包括()

    A.Int、money、char

    B.datetime、binary、Int

    C.char、varchar、text

    D.char、varchar、Int


    B