命令SELECT 0的功能是( )。
A.选择编号最小的未使用工作区
B.选择0号工作区
C.关闭当前工作区的表
D.选择当前工作区
A.选择编号最小的未使用工作区
B.选择0号工作区
C.关闭当前工作区的表
D.选择当前工作区
第3题
A.Select*From Tab1 Where简历Like“篮球”
B.Select*From Tab1 Where简历Like“*篮球”
C.Select*From Tab1 Where简历Like“*篮球*”
D.Select*From Tab1 Where简历Like“篮球*”
第4题
#define N 3
#define M 3
select(int a[N][M],int *n)
(int i,j,row=1,colum=1;
for(i=0;i<N:i++)
for(j=0;j<M; j++)
if(a[i][j]>a[row][colum]){row=i;colum=j;}
*n=______;
return______:
}
main()
{
int a[N][M]={9,11,23,6,1,15,9,17,20},max,n;
max=select(a,&n):
printf("max=%d,line=%d\n",max,n);
}
第5题
在Visual Basic工程prjl中包含有两个窗体,窗体form1(主窗体)上有两个命令按钮command1和 command2,一个文本控件text1;窗体dialog是一个对话窗体,窗体包含两个命令按钮OK和Cancel,一个文本控件text1和一个标签控件labe11。 编写程序要求实现的功能为:窗体form. 1上command1的caption属性值为name,程序运行后,当单击 eommand1时,弹出对话窗体dialog,其labe11控件中的提示信息为“please input your name:”,要求用户输入自己的姓名。如果单击OK按钮,保存当前输入的内容并返回form1界面,command1的caption属性值为email。若再次单击command1命令按钮,仍然出现dialog对话窗体,此时dialog的labe11提示用户输入自己的email,当用户输入email后,单击“确定”按钮,保存当前输入的内容并返回form1界面;如果单击Cancel按钮,则输入内容无效并返回form1。 Private Sub Command1_Click() Dialog. Text1. Text = "" Dialog. Show End Sub Private Sub Command2_Click() Text1. Text = "email: "+ Dialog. email +" name: "+ Dialog. fname End Sub Private Sub Form_ Load() Command1. Caption = "name" 【 】. Caption = "please input your name: Dialog. i = 0 End Sub Option Explicit Public i As Integer Public email As String Public fname As String Private Sub CancelButton_Click() i=0 email = "" fname = "" Forml. Command1. Capt ion = "name" Dialog. Hide Form1. Show End Sub Private Sub OKButton_ Click() 【 】 Select Case i Case 1: email = Text1. Text Labe11. Caption = "please input your email:" 【 】. Caption = "email" Case 2: fname = Text1. Text 【 】. Caption = "name" i=0 End Select Dialog. Hide Form1. Show End Sub
第6题
A.SUBSTR(学号,1,2)=′03′
B.SUBSTR(学号,2,2)=′03′
C.SUBSTR(学号,3,2)=′03′
D.SUBSTR(学号,4,2)=′03′
第8题
A.SELECT*FROMsys.statements_with_errors_or_warnings
B.SELECT*FROMsys.statements_with_runtimes_in_95th_percentile
C.SELECT*FROMsys.statement_analysis
D.SELECT*FROMsys.host_summary_by_file_io
第9题
A.SELECT…FROM…ORDERBY
B.SELECT…WHERE…GROUPBY
C.SELECT…WHERE…HAVING
D.SELECT…FROM…WHERE