SQL and Oracle Database Fundamentals
Test your knowledge of SQL queries, Oracle database concepts, Grid computing, indexes, and data types
Questions
What are the disadvantages of SQL ?
- Cannot drop a field
- Cannot rename a field
- Cannot manage memory
- Index on view or index on index not provided
- View updation problem
What is the result of the following SQL: Select 1 from dual UNION Select 'A' from dual;
- Error
- 1 & A are retreived
- 1 is retreived
- A is retreived
Index can be created on view?
- True
- False
What's the length of SQL integer ?
- 32 bit
- 64 bit
- 18 bit
- None of the above
What languages can run within the oracle database?
- Java
- Any other language linked to the OCI libraries
- SQL
- C
- PL/SQL
- All the above expect Option 2
Dual table can be deleted, dropped or altered or updated or inserted ?
- True
- False
For which relational operators in where clause, index is not used ?
- <>
- like '%...' is NOT functions
- field +constant
- field||''
- AND
Oracle is the sole proprietor of grid concept
- True
- False
The SQL application developer need not know how the Grid has been implemented
- True
- False
At the physical level, some ------------- and ------------ are providing Grid-like capabilities.
- Network Layer, Transport Layer
- Operating system, Hardware Vendors
- Developer, DBA
- Program Design, Oracle Server
Grid will take care of making sure that at any moment pools of application servers and instances sized appropriately for the current workload are available?
- True
- False
Which of the following queries are correct to delete duplicate records in a table?
- SELECT * FROM table a WHERE ROWID < (SELECT MAX(ROWID) FROM table b WHERE a.col1 = b.col1);
- SELECT * FROM table a WHERE ROWID <= (SELECT MAX(ROWID) FROM table b WHERE a.col1 = b.col1);
- SELECT * FROM table a WHERE ROWID > (SELECT MIN(ROWID) FROM table b WHERE a.col1 = b.col1);
- SELECT * FROM table a WHERE ROWID >= (SELECT MIN(ROWID) FROM table b WHERE a.col1 = b.col1);
Is it possible to add new column in the existing table at our desired location?
- True
- False