Which of the following scenarios will ensure that the value of the NEXT_STEPNO column in a given row of table TABLEX exists as a value of column STEPNO (usually in another row) in the same table?() A.Define a UNIQUE constraint on the columns NEXT_STEPNO and STEPNO.B.Define a CHECK constraint on the NEXT_STEPNO column (NEXT_STEPNO = STEPNO).C.Define column STEPNO as the primary key of TABLEX and column NEXT_STEPNO as a foreign key referencing column STEPNO of the same table.D.Define column NEXT_STEPNO as the primary key of TABLEX and column STEPNO as a foreign key referencing column NEXT_STEPNO in the same table.

Which of the following scenarios will ensure that the value of the NEXT_STEPNO column in a given row of table TABLEX exists as a value of column STEPNO (usually in another row) in the same table?()

A.Define a UNIQUE constraint on the columns NEXT_STEPNO and STEPNO.

B.Define a CHECK constraint on the NEXT_STEPNO column (NEXT_STEPNO = STEPNO).

C.Define column STEPNO as the primary key of TABLEX and column NEXT_STEPNO as a foreign key referencing column STEPNO of the same table.

D.Define column NEXT_STEPNO as the primary key of TABLEX and column STEPNO as a foreign key referencing column NEXT_STEPNO in the same table.


相关考题:

阅读下面程序: include void main() { int i,j,row=0,column=0,m; static int a[3] 阅读下面程序:include <iostream.h>void main(){int i,j,row=0,column=0,m;static int a[3][3]={ 100,28,72,-30,2,-100};m=a[0][0];for (i=0;i<3;i++)for (j=0;j<3;j++)if (a[i][j]<m){m=a[i][j];row=i;column=j;}cout<<m<<","<<row<<","<<column<<endl;}该程序的功能是【 】,其执行结果为上丝【 】。

( 24 )阅读下面程序import javax.swing.JOptionPane;public class BreakLabelTest {public static void main( String args[] ){String utput = "";stop: {for ( int row = 1; row = 10; row++ ) {for ( int column = 1; column = 5 ; column++ ) {if ( row == 5 )break stop;output += "* ";}output += "\n";}output += "\nLoops terminated normally";}JOptionPane.showMessageDialog(null, output," 用一个标志测试 break 语句 ",JOptionPane.INFORMATION_MESSAGE );System.exit( 0 );}}程序运行结果是A )窗口中有 5 行 * * * * *B )窗口中有 5 行 * * * *C )窗口中有 4 行 * * * * *D )窗口中有 6 行 * * * * *

网格系统,也称为栅格系统,是通过一系列的行(row)与列(column)的组合来进行网页布局。() 此题为判断题(对,错)。

阅读下面程序import javax.swing.JOptionPane;public class BreakLabelTest{public static void main (String args[]){String utput=" ";stop:{for(int row=1;row<10;row++){for(int column=1;column<=5;column++){if(row=5)break stop;output+=" * ";}output+=" \n ";}output+="\nLoops terminated normally";}JOptionPane.showMessageDialog(null,output,"用一个标志测试break语句”,JOptionPane.INFORMATION_MESSAGE);System.exit(0);}}程序运行结果是A.窗口中有5行* * * * *B.窗口中有5行* * * *C.窗口中有4行* * * * *D.窗口中有6行* * * * *

阅读下面程序importjavax.swing.JOptionPane;publicclassBreakLabelTest{publicstaticvoidmain(Stringargs[]){Stringoutput="";stop:{for(introw=1;row<=10;row++){for(intcolumn=1;column<=5;column++){if(row=5)breakstop;output+="*";}output+="\n";}output+="\nLoopsterminatednormally";}JOptionPane.showMessageDiaiog(null,output,"用一个标志测试break语句",JOptionPane.INFORMATION_MESSAGE);System.exit(0);}}程序运行结果是()。A.窗口中有5行*****B.窗口中有5行****C.窗口中有4行*****D.窗口中有6行*****

阅读下列程序:includevoid main(){int i,row=0,column=0,min;static int a[3][3]={ 阅读下列程序: #include<iostream.h> void main() { int i,row=0,column=0,min; static int a[3][3]={100,28,72,-30,2,?100}; min=a[0][0]; for(i=0;i<3;i++) for(j=0;j<3;j++) if(a[i][j]<min) { min=a[i][j];A.-100,2,3B.-100,1,2C.100,1,1D.100,0,0

阅读下面程序:includevoid main(){int i,j,row=0,column=0,min;static int a[3][3] 阅读下面程序: #include<iostream.h> void main() { int i,j,row=0,column=0,min; static int a[3][3]={100,28,72,-30,2,-100}; min=a[0][0]; for(i=0;i<3;i++) for(j=0;j<3;j++) if(a[i][jl<min) { min=a[i][j]; row=i; column=j; } cout<<min<<","<<row<<","<<column<<endl; } 该程序的执行结果为( )。A.-100,2,3B.-100,1,2C.100,1,1D.100,0,0

试题二(共15分)阅读以下说明和C函数,填充函数中的空缺,将解答填入答题纸的对应栏内。【说明】如果矩阵A中的元素A[i,j]满足条件:A[i,j]是第i行中值最小的元素,且又是第j列中值最大的元素,则称之为该矩阵的一个马鞍点。一个矩阵可能存在多个马鞍点,也可能不存在马鞍点。下面的函数求解并输出一个矩阵中的所有马鞍点,最后返回该矩阵中马鞍点的个数。【C函数】Int findSaddle(int a[][N],int M),{ /*a表示M行N列矩阵,N是宏定义符号常量量*/int row,column,i,k;int minElem;int count=0;/*count用于记录矩阵中马鞍点的个数*/for( row = 0;row (1) ;row++) {/*minElem用于表示第row行的最小元素值,其初值设为该行第0列的元素值*/(2) ;for( column = 1;column (3) ;column++)if( minElem a[row][column]) {minElem = a[row][column];}for(k=0;kN;k++)if(a[row][k]==minElem){/术对第row行的每个最小元素,判断其是否为所在列的最大元素*/for(i=0;i M;i++)if( (4) minElem) break;if(i=(5) ){printf("(%d,%d):%d\n",row,k,minElem);/*输出马鞍点*/count++;}/*if*/}/*if*/}/*for*/return count,}/*findSaddle*/

查找引⽤函数的搜索查找范围是由()参数指定的。A.Table_arrayB.Index_numberC.Row_numberD.Range_lookup

下列哪些函数功能是对全局表进行修改?A.gettablenum(tablename, row, col)B.settablenum(tablename, row, col, value)C.gettablestr(tablename, row, col)D.settablestr(tablename, row, col, “string”)