多項選擇題

查看表CUSTOMERS的數(shù)據(jù):

想要顯示多個客戶的相關(guān)詳細信息的所有城市,查看下列查詢,哪個JOIN選項能得到正確的輸出()

A.JOIN
B.NATURAL.JOIN
C.LEFT.OUTER.JOIN
D.FULL.OUTER.JOIN
E.RIGHT.OUTER.JOIN


您可能感興趣的試卷

你可能感興趣的試題

2.多項選擇題

查看表MARKS結(jié)構(gòu),哪個SQL語句能執(zhí)行成功()

A.SELECT.student_name,subject1.FROM.marks.WHERE-subject1>AVG(subject1)
B.SELECT.student_name,SUM(subject1)FROM.marks.WHERE-student_name-LIKE’R%’
C.SELECT.SUM(subject1+subject2+subject3)FROM.marks.WHERE-student_name-ISNULL
D.SELECT.SUM(DISTINCT.NVL(subject1,0)),MAX(subject1)FROM.mark.sWHERE-subject1>subject2


3.多項選擇題

查看表INVOICE的結(jié)果,哪兩個SQL語句能執(zhí)行成功()

A.SELECT.AVG(inv_date)FROM.invoice
B.SELECT.MAX(inv_date),MIN(cust_id)FROM.invoice
C.SELECT.MAX(AVG(SYSDATE-inv_date))FROM.invoice
D.SELECT.AVG(inv_date-SYSDATE),AVG(inv_amt)FROM.invoice

4.多項選擇題

查看表PRODUCTS的LIST_PRICE和MIN_PRICE字段,哪兩個表達式能得到一樣的結(jié)果()

A.NVL(NULLIF(list_price,min_price),0)
B.NVL(COALESCE(list_price,min_price),0)
C.NVL2(COALESCE(list_price,min_price),min_price,0)
D.COALESCE(NVL2(list_price,list_price,min_price),0)

5.多項選擇題

查看表INVOICE結(jié)構(gòu),下列哪個SQL語句能執(zhí)行成功()

A.SELECT.inv_no,NVL2(inv_date,’Pending’,’Incomplete’)FROM.invoice
B.SELECT.inv_no,NVL2(inv_amt,inv_date,’NotAvailable’)FROM.invoice
C.SELECT.inv_no,NVL2(inv_date,sysdate-inv_date,sysdate)FROM.invoice
D.SELECT.inv_no,NVL2(inv_amt,inv_amt*.25,’NotAvailable’)FROM.invoice