如果对关系emp(eno,ename,salary)成功执行下面的SQL语句: CREATE CLUSTER INDEX name_index ON emp(salary) 对此结果的正确描述是()。A、在emp表上按salary升序创建了一个唯一索引B、在emp表上按salary降序创建了一个唯一索引C、在emp表上按salary升序创建了一个聚簇索引D、在emp表上按salary降序创建了一个聚簇索引
如果对关系emp(eno,ename,salary)成功执行下面的SQL语句: CREATE CLUSTER INDEX name_index ON emp(salary) 对此结果的正确描述是()。
- A、在emp表上按salary升序创建了一个唯一索引
- B、在emp表上按salary降序创建了一个唯一索引
- C、在emp表上按salary升序创建了一个聚簇索引
- D、在emp表上按salary降序创建了一个聚簇索引
相关考题:
客户需要计算EMP表中所有职工12*salary* commission_pct的值.EMP表结构如下:LAST NAME VARCNAR2(35)NOT NULL SALARY NUMBER(9,2)NOT NULL COMMISION_PCTNUMBER(4,2)哪个语句可以查询计算EMP表中所有职工行?() A.SELECT last_name,12*salary* commission_pct FROM empB.SELECT last_name,12*salary*(commission_pct,0)FROM empC.SELECT last_name,12*salary*(nvl(commission_pct,0))FROM emp如果oracle第一个参数为空那么显示第二个参数的值,如果第一个参数的值不为空,则显示第一个参数本来的值D.SELECT last_name,12*salary*(decode(commission_pct,0))FROM emp
( 30 )如果对关系 emp ( eno , ename , salray )成功执行下面的 SQL 语句:CREATE CLUSTER INDEX name_index ON emp ( salary )对此结果的正确描述是A) 在 emp 表上按 salary 升序创建了一个唯一索引B) 在 emp 表上按 salary 降序创建了一个唯一索引C) 在 emp 表上按 salary 升序创建了一个聚簇索引D) 在 emp 表上按 salary 降序创建了一个聚簇索引
如果对关系emp(cno,ename,salary)成功执行下面的SQL语句:CREATE CLUSTER INDEX name_index ON emp(salary)对此结果的正确描述是( )。A)在emp表上按salary升序创建了一个聚簇索引B)在emp表上按salary降序创建了一个聚簇索引C)在emp表上按salary升序创建了一个唯一索引D)在emp表上按salary降序创建了一个唯一索引
如果对关系emp(eno,ename,salary)成功执行下面的SQ[.语句:CREATE CLUSTER INDEX name_index 0N emp(salary)对此结果的正确描述是A.在emp表上按salary升序创建了一个唯一索引B.在emp表上按salary降序创建了一个唯一索引C.在emp表上按salary升序创建了一个聚簇索引D.在emp表上按salary降序创建了一个聚簇索引
已知关系:STUDENT(sno,sname,grade),以下关于命令 “CREATE CLUSTER INDEX s_index ON student (grade)” 的描述中,正确的是( )。A.按成绩降序创建了一个聚簇索引B.按成绩升序创建了一个聚簇索引C.π按成绩降序创建了一个非聚簇索引D.按成绩升序创建了一个非聚簇索引
如果对关系emp(eno, ename, salary)成功执行下而的SQL语句:CREATE CLUSTER INDEX name_index ON emp(salary)其结果是( )。A) 在emp表上按salary升序创建了一个聚簇索引B) 在emp表上按salary降序创建了一个聚簇索引C) 在emp表上按salary升序创建了一个惟一索引D) 在emp表上按salary降序创建了一个惟一索引A.B.C.D.
如果对关系emp(eno,ename,salary)成功执行下面的SQL语句: CREATE CLUSTER INDEXname_index ON emp(salary)对此结果的正确描述是A.在emp表上按salary升序创建了一个聚簇索引B.在emp表上按salary降序创建了一个聚簇索引C.在emp表上按salary升序创建了一个唯一索引D.在emp表上按salary降序创建了一个唯一索引
● 设有职工表emp(Eno,Ename,Sex,Age)(Eno为职工号,Ename为职工姓名,Sex为性别,Age为年龄)和salary(Eno,Hour,Month,Wage)(Hour为工作时长为多少小时,Month表示几月份,Wage为薪水),建立一个视图V-Salary(Eno,Ename,Hour,Month,Wage),并按Eno升序排序的SQL语句为:(1)CREATE ( )AS SELECT emp.Eno,emp.Ename ,salary.Hour,salary.Month,salary.WageFROM emp, salaryWHERE emp.Eno=salary.EnoORDER BY ENO在此视图上查均月工资在3000以上的职工工资情况的SQL语句为:SELECT Eno,Ename,AVG(Wage)FROM V-SalaryGROUP BY ( )HAVING AVG(Wage)3000( )A. CREATE TABLE V-Salary(emp.Eno,emp.Ename,salary.Hour,salary.Month,salary.Wage)B. CREATE VIEW V-Salary(Eno,Ename,Hour,Month,Wage)C. CREATE TABLE V-Salary(Eno,Ename,Hour,Month,Wage)D. CREATE INDEX V-Salary(Eno,Ename,Hour,Month,Wage)( )A. Eno B.EnameC.Month D.Wage
如果对关系S(number,name,score)成功执行下列SQL语句: CREATE CLUSTER INDEX name_index ON S(score) 对此结果的正确描述是( )。A.在S表上按salary升序创建了一个唯一索引B.在S表上按salary降序创建了一个唯一索引C.在S表上按salary升序创建了一个聚簇索引D.在S表上按salary降序创建了一个聚簇索引
如果对关系S(number, name, score)成功执行下列SQL语句:CREATE CLUSTER INDEX name_ index ON S(score)对此结果的描述中,正确的是( )。A.在S表上按salary升序创建了一个唯一索引B.在S表上按salary降序创建了一个唯一索引C.在S表上按salary升序创建了一个聚簇索引D.在S表上按salary降序创建了一个聚簇索引
如果对关系emp(eno,ename,salary)成功执行下面的SQL语句: CREATE CLUSTER INDEXname_index ON emp(salary) 对此结果的正确描述是_______。A.在emp表上按salary升序创建了一个聚簇索引B.在emp表上按salary降序创建了一个聚簇索引C.在emp表上按salary升序创建了一个惟一索引D.在emp表上按salary降序创建了一个惟一索引
已知关系:STUDENT(sno,sname,grade),以下关于命令 “CREATECLUSTER INDEXS_index ONStudent(grade)”的描述中,正确的是A.按成绩降序创建了一个聚簇索引B.按成绩升序创建了一个聚簇索引C.按成绩降序创建了一个非聚簇索引D.按成绩升序创建了一个非聚簇索引
(33)如果对关系 emp(eno, ename, salary)成功执行下面的SQL语句:CREATE CLUSTER INDEX name_index ON emp(salary)其结果是A)在 emp表上按sal娜升序创建了一个聚簇索引B)在 emp表上按salary降序创建了一个聚簇索引C)在 emp表上按salary升序创建了一个唯一索引D)在 emp表上按salary降序创建了一个唯一索引
执行如下两个查询,结果为() Select ename name,sal salary from emp order by salary Select ename name,sal“salary”from emp order by sal ascA、两个查询结果完全相同B、第一个查询正确,第二个查询错误C、两个查询结构不同D、第二个查询正确,第一个查询错误
“雇员”表包含以下列: EMPLOYEE_ID NOT NULL, Primary Key SSNUM NOT NULL, Unique LAST_NAME VARCHAR2(25) FIRST_NAME VARCHAR2(25) DEPARTMENT_ID NUMBER 部门表中 DEPARTMENT_ID 列的外键 SALARY NUMBER(8,2) 如果执行以下语句: CREATE INDEX emp_name_idx ON employees(last_name, first_name); 以下哪个说法是的()A、此语句会创建一个基于函数的索引B、因为语法错误,此语句将失败C、该语句将创建一个组合唯一索引D、该语句将创建一个组合非唯一索引
如果对关系emp(eno,ename,salary)成功执行下面的SQL语句:CREATECLUSTERINDEXname_indexONemp(salary),其结果是()A、在emp表上按salary升序创建了一个聚簇索引B、在emp表上按salary降序创建了一个聚簇索引C、在emp表上按salary升序创建了一个唯一索引D、在emp表上按salary降序创建了一个唯一索引
Evaluate this SQL statement: SELECT ename, sal, 12* sal+100 FROM emp; The SAL column stores the monthly salary of the employee. Which change must be made to the above syntax to calculate the annual compensation as "monthly salary plus a monthly bonus of $100, multiplied by 12"? ()A、No change is required to achieve the desired results.B、SELECT ename, sal, 12* (sal+100) FROM emp;C、SELECT ename, sal, (12* sal)+100 FROM emp;D、SELECT ename, sal +100,*12 FROM emp;
Management has asked you to calculate the value 12*salary* commission_pct for all the employees in the EMP table. The EMP table contains these columns: LAST NAME VARCNAR2(35) NOT NULL SALARY NUMBER(9,2) NOT NULL COMMISION_PCT NUMBER(4,2) Which statement ensures that a value is displayed in the calculated columns for all employees?()A、SELECT last_name, 12*salary* commission_pct FROM emp;B、SELECT last_name, 12*salary* (commission_pct,0) FROM emp;C、SELECT last_name, 12*salary*(nvl(commission_pct,0)) FROM emp;D、SELECT last_name, 12*salary*(decode(commission_pct,0)) FROM emp;
You work as an application developer at Certkiller .com. You have been given the responsibility of creating a class named CalcSalary that will determine the salaries of Certkiller .com’s staff. The CalcSalary class includes methods to increment and decrement staff salaries. The following code is included in the CalcSalary class: public class CalcSalary { // for promotions public static bool IncrementSalary (Employee Emp, double Amount) { if (Emp.Status == QuarterlyReview.AboveGoals) Emp.Salary += Amount; return true; } else return false; } //for demotions public static bool DecrementSalary (Employee Emp, double Amount) { if (Emp.Status == QuarterlyReview.AboveGoals) Emp.Salary -= Amount; return true; } else return false; } } You would like to invoke the IncrementSalary and DecrementSalary methods dynamically at runtime from the sales manager application, and decide to create a delegate named SalaryDelegate to invoke them. You need to ensure that you use the appropriate code to declare the SalaryDelegate delegate.What is the correct line of code?()A、 public delegate bool Salary (Employee Emp, double Amount);B、 public bool Salary (Employee Emp, double Amount);C、 public event bool Salary (Employee Emp, double Amount);D、 public delegate void Salary (Employee Emp, double Amount);
客户需要计算EMP表中所有职工12*salary* commission_pct的值.EMP表结构如下:LAST NAME VARCNAR2(35)NOT NULL SALARY NUMBER(9,2)NOT NULL COMMISION_PCTNUMBER(4,2)哪个语句可以查询计算EMP表中所有职工行?()A、SELECT last_name,12*salary* commission_pct FROM empB、SELECT last_name,12*salary*(commission_pct,0)FROM empC、SELECT last_name,12*salary*(nvl(commission_pct,0))FROM emp如果oracle第一个参数为空那么显示第二个参数的值,如果第一个参数的值不为空,则显示第一个参数本来的值D、SELECT last_name,12*salary*(decode(commission_pct,0))FROM emp
您已创建一个名为 CalcSalary,将确定 Certkiller.com 员工的薪酬类的责任。CalcSalary 类包括员工的薪酬递增和递减的方法。下面的代码包含在 CalcSalary 类中:()public class CalcSalary {// for promotionspublic static bool IncrementSalary (Employee Emp, double Amount){if (Emp.Status == QuarterlyReview.AboveGoals)Emp.Salary += Amount;return true;A、public delegate bool Salary (Employee Emp, double Amount);B、public bool Salary (Employee Emp, double Amount);C、public event bool Salary (Employee Emp, double Amount);D、public delegate void Salary (Employee Emp, double Amount);
单选题您已创建一个名为 CalcSalary,将确定 Certkiller.com 员工的薪酬类的责任。CalcSalary 类包括员工的薪酬递增和递减的方法。下面的代码包含在 CalcSalary 类中:()public class CalcSalary {// for promotionspublic static bool IncrementSalary (Employee Emp, double Amount){if (Emp.Status == QuarterlyReview.AboveGoals)Emp.Salary += Amount;return true;Apublic delegate bool Salary (Employee Emp, double Amount);Bpublic bool Salary (Employee Emp, double Amount);Cpublic event bool Salary (Employee Emp, double Amount);Dpublic delegate void Salary (Employee Emp, double Amount);
单选题Evaluate the SQL statement: SELECT LPAD(salary,10,*) FROM EMP WHERE EMP_ID = 1001; If the employee with the EMP_ID 1001 has a salary of 17000, what is displayed?()A17000.00B17000*****C****170.00D**17000.00Ean error statement
单选题Management has asked you to calculate the value 12*salary* commission_pct for all the employees in the EMP table. The EMP table contains these columns: LAST NAME VARCNAR2(35) NOT NULL SALARY NUMBER(9,2) NOT NULL COMMISION_PCT NUMBER(4,2) Which statement ensures that a value is displayed in the calculated columns for all employees?()ASELECT last_name, 12*salary* commission_pct FROM emp;BSELECT last_name, 12*salary* (commission_pct,0) FROM emp;CSELECT last_name, 12*salary*(nvl(commission_pct,0)) FROM emp;DSELECT last_name, 12*salary*(decode(commission_pct,0)) FROM emp;
单选题Evaluate this SQL statement: SELECT ename, sal, 12*sal+100 FROM emp; The SAL column stores the monthly salary of the employee. Which change must be made to the above syntax to calculate the annual compensation as "monthly salary plus a monthly bonus of $100, multiplied by 12"?()ANo change is required to achieve the desired results.BSELECT ename, sal, 12*(sal+100) FROM emp;CSELECT ename, sal, (12*sal)+100 FROM emp;DSELECT ename, sal+100,*12 FROM emp;
单选题客户需要计算EMP表中所有职工12*salary* commission_pct的值.EMP表结构如下:LAST NAME VARCNAR2(35)NOT NULL SALARY NUMBER(9,2)NOT NULL COMMISION_PCTNUMBER(4,2)哪个语句可以查询计算EMP表中所有职工行?()ASELECT last_name,12*salary* commission_pct FROM empBSELECT last_name,12*salary*(commission_pct,0)FROM empCSELECT last_name,12*salary*(nvl(commission_pct,0))FROM emp如果oracle第一个参数为空那么显示第二个参数的值,如果第一个参数的值不为空,则显示第一个参数本来的值DSELECT last_name,12*salary*(decode(commission_pct,0))FROM emp
单选题Management has asked you to calculate the value 12*salary* commission_pct for all the employees in the EMP table. The EMP table contains these columns: LAST NAME VARCNAR2(35) NOT NULL SALARY NUMBER(9,2) NOT NULL COMMISION_PCT NUMBER(4,2) Which statement ensures that a value is displayed in the calculated columns for all employees? ()ASELECT last_name, 12*salary* commission_pct FROM emp;BSELECT last_name, 12*salary* (commission_pct,0) FROM emp;CSELECT last_name, 12*salary*(nvl(commission_pct,0)) FROM emp;DSELECT last_name, 12*salary*(decode(commission_pct,0)) FROM emp;