Êý¾Ý¿âÔ­Àí¼°Ó¦Ó㨵Ú2°æ£©Ï°Ìâ²Î¿¼´ð°¸

3£®Èç¹ûʵÌåAÓëʵÌåBÊÇÒ»¶Ô¶àÁªÏµ£¬ÔòʵÌåBÖеÄÒ»¸öʵÀý×î¶à¿É¶ÔӦʵÌåAÖеÄ______ʵÀý¡£

Ò»¸ö

4£®Êý¾ÝÍêÕûÐÔÔ¼Êø°üÀ¨______ÍêÕûÐÔ¡¢______ÍêÕûÐÔºÍ______ÍêÕûÐÔ¡£ ʵÌå ²ÎÕÕ Óû§¶¨Òå 5£®¹ØϵÊý¾ÝÄ£Ð͵Ä×éÖ¯ÐÎʽÊÇ______¡£ ¶þά±í

6£®Êý¾Ý¿âϵͳµÄ______ºÍ______Ö®¼äµÄÓ³Ïñ£¬ÌṩÁËÊý¾ÝµÄÎïÀí¶ÀÁ¢ÐÔ¡£ 7£®Êý¾ÝµÄÂß¼­¶ÀÁ¢ÐÔÊÇÖ¸µ±______±ä»¯Ê±¿ÉÒÔ±£³Ö______²»±ä¡£ ÄÚģʽ ģʽ

8£®Êý¾ÝÄ£ÐÍÈýÒªËØ°üÀ¨______¡¢______ºÍ______¡£ Êý¾Ý½á¹¹ Êý¾Ý²Ù×÷ Êý¾ÝÍêÕûÐÔÔ¼Êø 9£®ÊµÌåÁªÏµÄ£ÐÍÊôÓÚ______²ãÊý¾ÝÄ£ÐÍ£¬ËüÓë¾ßÌåµÄDBMS______¡£¸ÅÄî ÎÞ¹Ø 10£®¹Øϵ²Ù×÷µÄÌصãÊÇ»ùÓÚ______µÄ²Ù×÷¡£ ¼¯ºÏ

¡¤5¡¤ 11£®µ±Êý¾ÝµÄÎïÀí´æ´¢Î»Ö÷¢Éú±ä»¯Ê±£¬Í¨¹ýµ÷Õû______Ó³Ïñ£¬¿ÉÒÔ±£Ö¤______²»±ä»¯£¬´Ó¶ø±£Ö¤Êý¾ÝµÄÎïÀí¶ÀÁ¢ÐÔ¡£ ģʽ/ÄÚģʽ ģʽ

12£®²ÎÕÕÍêÕûÐÔÔ¼ÊøÊÇͨ¹ý______±£Ö¤µÄ¡£ ÍâÂë

5

¡¤6¡¤ µÚ3Õ SQLÓïÑÔ»ù´¡¼°Êý¾Ý¶¨Ò幦ÄÜ Ò»£®Ñ¡ÔñÌâ

1£®ÏÂÁйØÓÚSQLÓïÑÔÌض¨µÄÐðÊö£¬´íÎóµÄÊÇ B

A£®Ê¹ÓÃSQLÓïÑÔ·ÃÎÊÊý¾Ý¿â£¬Óû§Ö»ÐèÌá³ö×öʲô£¬¶øÎÞÐèÃèÊöÈçºÎʵÏÖ B£®SQLÓïÑԱȽϸ´ÔÓ£¬Òò´ËÔÚʹÓÃÉϱȽÏÄÑ

C£®SQLÓïÑÔ¿ÉÒÔÔÚÊý¾Ý¿â¹ÜÀíϵͳÌṩµÄÓ¦ÓóÌÐòÖÐÖ´ÐУ¬Ò²¿ÉÒÔÔÚDOS»·¾³ÏÂÖ´ÐÐ D£®Ê¹ÓÃSQLÓïÑÔ¿ÉÒÔÍê³ÉÈκÎÊý¾Ý¿â²Ù×÷ 2£®ÏÂÁÐËùÊö¹¦ÄÜÖУ¬²»ÊôÓÚSQLÓïÑÔ¹¦ÄܵÄÊÇ D A£®Êý¾Ý¿âºÍ±íµÄ¶¨Ò幦ÄÜ B£®Êý¾Ý²éѯ¹¦ÄÜ C£®Êý¾ÝÔö¡¢É¾¡¢¸Ä¹¦ÄÜ

D£®Ìṩ·½±ãµÄÓû§²Ù×÷½çÃ湦ÄÜ

3£®Éèijְ¹¤±íÖÐÓÐÓÃÓÚ´æ·ÅÄêÁ䣨ÕûÊý£©µÄÁУ¬ÏÂÁÐÀàÐÍÖÐ×îºÏÊÊÄêÁäÁеÄÊÇ C A£®int C£®tinyint

B£®smallint D£®bit

4£®SQL ServerÊý¾Ý¿âÊÇÓÉÎļþ×é³ÉµÄ¡£ÏÂÁйØÓÚÊý¾Ý¿âËù°üº¬µÄÎļþµÄ˵·¨£¬ÕýÈ·µÄÊÇ D A£®Ò»¸öÊý¾Ý¿â¿É°üº¬¶à¸öÖ÷Êý¾ÝÎļþºÍ¶à¸öÈÕÖ¾Îļþ B£®Ò»¸öÊý¾Ý¿âÖ»ÄÜ°üº¬Ò»¸öÖ÷Êý¾ÝÎļþºÍÒ»¸öÈÕÖ¾Îļþ

C£®Ò»¸öÊý¾Ý¿â¿É°üº¬¶à¸ö´ÎÒªÊý¾ÝÎļþ£¬µ«Ö»ÄÜ°üº¬Ò»¸öÈÕÖ¾Îļþ D£®Ò»¸öÊý¾Ý¿â¿É°üº¬¶à¸ö´ÎÒªÊý¾ÝÎļþºÍ¶à¸öÈÕÖ¾Îļþ

5£®ÔÚSQL ServerÖд´½¨Óû§Êý¾Ý¿â£¬ÆäÖ÷Êý¾ÝÎļþµÄ´óС±ØÐë´óÓÚ B A£®masterÊý¾Ý¿âµÄ´óС C£®msdbÊý¾Ý¿âµÄ´óС

B£®modelÊý¾Ý¿âµÄ´óС D£®3MB

6£®ÔÚSQL ServerϵͳÊý¾Ý¿âÖУ¬´æ·ÅÓû§Êý¾Ý¿â¹«¹²ÐÅÏ¢µÄÊÇ D A£®master

C£®msdbÊý¾Ý¿âµÄ´óС

B£®model D£®tempdb

7£®ÔÚSQL ServerÖд´½¨Óû§Êý¾Ý¿âʵ¼Ê¾ÍÊǶ¨ÒåÊý¾Ý¿âËù°üº¬µÄÎļþÒÔ¼°ÎļþµÄÊôÐÔ¡£ÏÂÁв»ÊôÓÚÊý¾Ý¿âÎļþÊôÐÔµÄÊÇ C A£®³õʼ´óС C£®Îļþ½á¹¹

B£®ÎïÀíÎļþÃû D£® ×î´ó´óС

8£®ÔÚSQL ServerÖд´½¨Óû§Êý¾Ý¿âʵ¼Ê¾ÍÊǶ¨ÒåÊý¾Ý¿âËù°üº¬µÄÎļþÒÔ¼°ÎļþµÄÊôÐÔ¡£ÏÂÁв»ÊôÓÚÊý¾Ý¿âÎļþÊôÐÔµÄÊÇ C A£®³õʼ´óС C£®Îļþ½á¹¹

B£®ÎïÀíÎļþÃû D£® ×î´ó´óС

9£®ÏÂÁÐÔ¼ÊøÖÐÓÃÓÚÏÞÖÆÁеÄÈ¡Öµ·¶Î§µÄÔ¼ÊøÊÇ B A£®PRIMARY KEY C£®DEFAULT

B£®CHECK D£® UNIQUE

10£®ÏÂÁÐÔ¼ÊøÖÐÓÃÓÚÏÞÖÆÁеÄÈ¡Öµ²»ÖصÄÔ¼ÊøÊÇ D A£®PRIMARY KEY

B£®CHECK 6

C£®DEFAULT

D£® UNIQUE

¡¤7¡¤ 11£®ÏÂÁÐÔ¼ÊøÖÐÓÃÓÚʵÏÖʵÌåÍêÕûÐÔµÄÔ¼ÊøÊÇ A A£®PRIMARY KEY C£®DEFAULT

B£®CHECK D£® UNIQUE

12£®ÏÂÁйØÓÚDEFAULTÔ¼ÊøµÄ˵·¨£¬´íÎóµÄÊÇ D A£®Ò»¸öDEFAULTÔ¼ÊøÖ»ÄÜÔ¼Êø±íÖеÄÒ»¸öÁÐ B£®ÔÚÒ»¸ö±íÉÏ¿ÉÒÔ¶¨Òå¶à¸öDEFAULTÔ¼Êø C£®DEFAULTÖ»Äܶ¨ÒåÔÚÁм¶ÍêÕûÐÔÔ¼Êø´¦

D£®ÔÚÁм¶ÍêÕûÐÔÔ¼ÊøºÍ±í¼¶ÍêÕûÐÔÔ¼Êø´¦¶¼¿ÉÒÔ¶¨ÒåDEFAULTÔ¼Êø

7

¡¤8¡¤ µÚ 4 Õ Êý¾Ý²Ù×÷Óï¾ä Ò»£® Ñ¡ÔñÌâ

1£® µ±¹ØϵRºÍS½øÐÐÁ¬½Ó²Ù×÷ʱ£¬Èç¹ûRÖеÄÔª×é²»Âú×ãÁ¬½ÓÌõ¼þ£¬ÔÚÁ¬½Ó½á¹ûÖÐÒ²»á½«ÕâЩ¼Ç¼±£ÁôÏÂÀ´µÄ²Ù

×÷ÊÇ A A£®×óÍâÁ¬½Ó C£®ÄÚÁ¬½Ó C

A£®Grade IS NOT NULL C£®Grade = NULL

B£®Grade IS NULL D£®NOT (Grade IS NULL) D

B£®MAX(ÁÐÃû)

D£®COUNT(*)

A

B£®ÓÒÍâÁ¬½Ó D£®×ÔÁ¬½Ó

2£® ÉèÔÚijSELECTÓï¾äµÄWHERE×Ó¾äÖУ¬ÐèÒª¶ÔGradeÁеĿÕÖµ½øÐд¦Àí¡£ÏÂÁйØÓÚ¿ÕÖµµÄ²Ù×÷£¬´íÎóµÄÊÇ

3£® ÏÂÁоۺϺ¯ÊýÖУ¬²»ºöÂÔ¿ÕÖµµÄÊÇ

A£®SUM(ÁÐÃû) C£®AVG(ÁÐÃû)

4£®SELECT ¡­ INTO ¡­FROMÓï¾äµÄ¹¦ÄÜÊÇ

A£® ½«²éѯ½á¹û²åÈëµ½Ò»¸öбíÖÐ C£® ºÏ²¢²éѯµÄ½á¹û

D£® ÏòÒÑ´æÔڵıíÖÐÌí¼ÓÊý¾Ý 5£®ÏÂÁÐÀûÓÃSC±íµÄ²éѯÓï¾äÖУ¬´íÎóµÄÊÇ

B£® ½«²éѯ½á¹û²åÈëµ½Ò»¸öÒѽ¨ºÃµÄ±íÖÐ

B

A£® SELECT Sno, COUNT(*) FROM SC GROUP BY Sno

B£® SELECT Sno FROM SC GROUP BY Sno WHERE COUNT(*) > 3 C£® SELECT Sno FROM SC GROUP BY Sno HAVING COUNT(*) > 3 D£® SELECT Sno FROM SC GROUP BY Sno

6£®ÏÖÒªÀûÓÃStudent±í²éѯÄêÁä×îСµÄѧÉúÐÕÃûºÍÄêÁä¡£ÏÂÁÐʵÏִ˹¦ÄܵIJéѯÓï¾äÖУ¬ÕýÈ·µÄÊÇ

A£® SELECT Sname, MIN(Sage) FROM Student

B£® SELECT Sname, Sage FROM Student WHERE Sage = MIN(Sage) C£® SELECT TOP 1 Sname, Sage FROM Student

D£® SELECT TOP 1 Sname, Sage FROM Student ORDER BY Sage

7£®ÉèSC±íÖмǼ³É¼¨µÄÁÐΪ£ºGrade£¬ÀàÐÍΪint¡£ÈôÔÚ²éѯ³É¼¨Ê±£¬Ï£Íû½«³É¼¨°´¡®ÓÅ¡¯¡¢¡®Á¼¡¯¡¢¡®ÖС¯¡¢¡®¼°¸ñ¡¯ºÍ¡®²»¼°¸ñ¡¯ÐÎʽÏÔʾ£¬ÕýÈ·µÄCaseº¯ÊýÊÇ

A.

Case Grade

When 90~100 THEN 'ÓÅ' When 80~89 THEN 'Á¼' When 70~79 THEN 'ÖÐ' When 60~69 THEN '¼°¸ñ' Else '²»¼°¸ñ' End B.

Case

When Grade between 90 and 100 THEN Grade = 'ÓÅ' When Grade between 80 and 89 THEN Grade = 'Á¼'

8

C

D

ÁªÏµ¿Í·þ£º779662525#qq.com(#Ì滻Ϊ@)