【正文】
,以下描述正確的是:()。C.TRUNCATE在 提交COMMIT之前仍可回滾o A.主鍵列的數(shù)據(jù)類型不限,但此列必須是唯一并且非空o 38.(單選)在Oracle中,現(xiàn)有Student表,其中包括學(xué)號(hào)stuId,姓名stuName,成績(jī)stuGrade, 現(xiàn)要查詢成績(jī)?yōu)?0分的學(xué)生姓名,并且結(jié)果按照學(xué)號(hào)降序排列,下面查詢語(yǔ)句正確的是()。C.SELECT stuName FROM student WHERE stuGrade like 80 GROUP BY stuIdo A.actiono 40.(單選)點(diǎn)擊delete后彈出確認(rèn)框,點(diǎn)擊取消,頁(yè)面停留在當(dāng)前頁(yè)面。)。)。)。)delete/a正確答案:B PrepareStatement stmt = (sql)。 PrepareStatement stmt = (sql)。C.String sql = INSERT INTO dept (name)VALUES(?)。D.String sql = INSERT INTO dept (id,name)VALUES(,?)。 42.(單選)可以在Oracle中獲取當(dāng)前時(shí)間的Sql語(yǔ)句是()o D.SELECT DATE FROM DUAL正確答案:B PrepareStatement stmt = (sql)。 PrepareStatement stmt = (sql)。C.String sql = insert into student (stu_no,stu_name) values(?)。D.String sql = insert into student(stu_no,stu_name) values(,?)。 PreparedStatement是事先將sql語(yǔ)句進(jìn)行預(yù)編譯處理, 將來(lái)通過該對(duì)象setXxx(index,object)方法進(jìn)行注入?yún)?shù)值。 44.(單選)有一個(gè)表leanr,表里有三個(gè)字段分別是學(xué)號(hào)(student_id),課程(kc),成績(jī)(grade)。o o CREATE VIEW usa_states AS SELECT *FROM state WHERE t_code =1 WITH READ ONLY。C.SELECT , DELETEo A.SELECT DISTINCT(cid) FROM orders o1 WHERE IN(‘p01’,’p02’)o 47.(多選)下列語(yǔ)句在建表的同時(shí)在c2,c3列上創(chuàng)建了唯一約束,其中正確的是:o o 正確答案:CDo o A.select real_name from account where in (select account_id from service)。C.select real_name from account where id in (select account_id from service)。 50.(多選題)操作account表和age_segment表,查詢客戶huangrong的年齡段,下列sql語(yǔ)句正確的是:o B.select real_name,birthdate, from account a left join age_segment s on round((sysdate birthdate)/365) between lowage and hiage and real_name = 39。huangrong39。huangrong39。 B選項(xiàng)on的條件是 round((sysdate birthdate)/365) between lowage and hiage and real_name = 39。服務(wù)支持最新動(dòng)態(tài)名師堂達(dá)內(nèi)時(shí)代科技集團(tuán)有限公司 20132014中關(guān)村中心企業(yè)合作:62117598 UID中心企業(yè)合作:821684282168831歡迎您的光臨,!希望您提出您寶貴的意見,你的意見是我進(jìn)步的動(dòng)力。什么時(shí)候離光明最近?那就是你覺得黑暗太黑的時(shí)候。 參考。我不知道年少輕狂,我只知道勝者為王。代理合作咨詢與反饋 C選項(xiàng)on的條件是 round((sysdate birthdate)/365) between lowage and hiage關(guān)于我們 C. select real_name,birthdate, from account a left join age_segment s on (round((sysdate birthdate)/365) between lowage and hiage) where real_name = 39。D.select real_name,birthdate, from account a left join age_segment s on round((sysdate birthdate)/365) between lowage and hiage。o huangrong39。D.select real_name from account o where exists (select 1 from service i where = )。B.select real_name from account o where id exists (select 1 from service i where = )。正確答案:BDo 下列選項(xiàng)中能向test表中成功實(shí)施插入數(shù)據(jù)的插入語(yǔ)句是:o o o C.SELECT DISTINCT(cid) FROM orders WHERE pid=’p01’ AND cid IN(select cid FROM orders WHERE pid=’p02’)o 46.(單選)現(xiàn)有訂單表(orders),包含字段:cid(顧客編號(hào)),pid(產(chǎn)品編號(hào))。A.SELECTo 正確答案:Do o 所以正確寫法必須是A的寫法。 (2,習(xí)近平)。 (1,習(xí)近平)。 (2,習(xí)近平)。o o B.SELECT SYSDATE FROM DUALo (2,”design”)。 (1,”design”)。 (2,”design”)。o o D.a href= onclick=confirm(39。C.a href= onclick=javascript: confirm(39。B.a href= onclick=return confirm(39。A.a href= onclick= confirm(39。C.enctypeo 39.(單選)下面不屬于表單屬性的有()。A.SELECT stuName FROM student WHERE stuGrade=80 ORDER BY stuIdo C.唯一性約束所在的列允許空值o 37.(單選)在Oracle數(shù)據(jù)庫(kù)中,關(guān)于主鍵約束與唯一約束說法錯(cuò)誤的是()。A.TRUNCATE 不需要 RollbackSegmento C.select no, name from (select no,name rownum num