|
|

|
#43. Examine the structure of the STUDENT table: Name Null? Type
STUD_ID NOT NULL NUMBER(3)
NAME NOT NULL VARCHAR2(25)
ADDRESS VARCHAR2(50)
GRADUATION DATE Graduation column is a foreign key column to the GRADDATE table. Examine the data in the GRADDATE table: GRADUATION ____________ 20-JAN-1999 12-MAY-1999 19-JAN-2000 25-MAY-2000 13-JAN-2001 29-MAY-2001 Which update statement produces the following error? ORA-02291: integrity constraint (SYS_C23) violated - parent key not found
Показать комментарии к этому вопросу (0)
Добавить комментарии
Ссылка на этот вопрос
|
|
#48. The EMP table contains columns to hold the birth date and hire date of employees. Both of these columns are defined with DATE as their datatype. You want to insert a row with the details of employee Smith who was born in 1944 and hired in 2004. Which statement will ensure that values are inserted into the table in the correct century?
Показать комментарии к этому вопросу (0)
Добавить комментарии
Ссылка на этот вопрос
|
|
#49. The EMPLOYEE table contains these columns: FIRST_NAME VARCHAR2(25)
LAST_NAME VARCHAR2(25) Evaluate these two SQL statements: 1. SELECT CONCAT(first_name, last_name), LENGTH(CONCAT(first_name, last_name)) FROM employee WHERE UPPER(last_name) LIKE ‘%K’ ORUPPER(last_name) LIKE ‘%K’ ORUPPER(last_name) LIKE ‘%K’;
2. SELECT INITCAP(first_name) || INITCAP(last_name), LENSTH(last_name) + LENGTH(first_name) FROM employee WHERE INITCAP(SUBSTR(last_name, 1, 1)) IN (J’, ‘K’, ‘L’);
How will the results differ?
Показать комментарии к этому вопросу (0)
Добавить комментарии
Ссылка на этот вопрос
|
|
|
|
ген. 0.075
|
Дата сервера 09:15 09-01-2009
|
Разработал Zip © 2006
|
|
 |
|
|