The 'Oracle Mock Test' assesses knowledge on Oracle SQL and database management, focusing on SQL statements, table constraints, and query functions. It's designed for learners to validate their understanding and readiness for working with Oracle databases.
SELECT SUBSTR( ‘HelloWorld’,1) FROM dual;
SELECT INITCAP(TRIM (‘HelloWorld’, 1,1)) FROM dual;
SELECT LOWER(SUBSTR(‘HellowWorld’, 1, 1) FROM dual;
SELECT LOWER(SUBSTR(‘HelloWorld’, 2, 1) FROM dual;
SELECT LOWER(TRIM (‘H’ FROM ‘HelloWorld’)) FROM dual;
Rate this question:
The value displayed in the CALC_VALUE column will be lower.
The value displayed in the CALC_VALUE column will be higher.
There will be no difference in the value displayed in the CALC_VALUE column.
An error will be reported.
Rate this question:
SELECT TO_CHAR(SYSDATE,'yyyy') FROM dual;
SELECT TO_DATE(SYSDATE,'yyyy') FROM dual;
SELECT DECODE(SUBSTR(SYSDATE, 8), 'YYYY') FROM dual;
SELECT DECODE(SUBSTR(SYSDATE, 8), 'year') FROM dual;
SELECT TO_CHAR(SUBSTR(SYSDATE, 8,2),'yyyy') FROM dual;
Rate this question:
SELECT employee_id, last_name, job_id FROM employees WHERE job_id LIKE '%SA\_%' ESCAPE '\';
SELECT employee_id, last_name, job_id FROM employees WHERE job_id LIKE '%SA_';
SELECT employee_id, last_name, job_id FROM employees WHERE job_id LIKE '%SA_' ESCAPE "\";
SELECT employee_id, last_name, job_id FROM employees WHERE job_id = '%SA_';
Rate this question:
The underlying tables must have data.
You need SELECT privileges on the view.
The underlying tables must be in the same schema.
You need SELECT privileges only on the underlying tables.
Rate this question:
The Oracle Server will evaluate a HAVING clause before a WHERE clause.
The Oracle Server will evaluate a WHERE clause before a GROUP BY clause.
The Oracle Server will evaluate a GROUP BY clause before a HAVING clause.
The Oracle Server will evaluate an ORDER BY clause before a WHERE clause.
The Oracle Server will evaluate an ORDER BY clause before a HAVING clause.
Rate this question:
SELECT TO_CHAR(2000, '$#,###.##') FROM dual;
SELECT TO_CHAR(2000, '$0,000.00') FROM dual;
SELECT TO_CHAR(2000, '$9,999.00') FROM dual;
SELECT TO_CHAR(2000, '$9,999.99') FROM dual;
SELECT TO_CHAR(2000, '$2,000.00') FROM dual;
SELECT TO_CHAR(2000, '$N,NNN.NN') FROM dual;
Rate this question:
Null values are left out of the sort.
Character values are displayed from Z to A.
Date values are displayed with the earliest value first.
Null values are displayed last for descending sequences.
Numeric values are displayed with the lowest values first.
Rate this question:
INSERT
UPDATE
SELECT
DESCRIBE
DELETE
RENAME
Rate this question:
SELECT TO_CHAR(2000, '$#,###.##') FROM dual;
SELECT TO_CHAR(2000, '$0,000.00') FROM dual;
SELECT TO_CHAR(2000, '$9,999.00') FROM dual;
SELECT TO_CHAR(2000, '$9,999.99') FROM dual;
SELECT TO_CHAR(2000, '$2,000.00') FROM dual;
SELECT TO_CHAR(2000, '$N,NNN.NN') FROM dual;
Rate this question:
You have no rows in the table.
You have an employee with the name of James.
You cannot roll back to the same savepoint more than once.
Your last update fails to update any rows because employee ID 180 was already deleted.
Rate this question:
An error is returned.
You are prompted to enter a new value.
A report is produced that matches the first report produced.
You are asked whether you want a new value or if you want to run the report based on the previous value.
Rate this question:
SELECT dear customer, customer_name, FROM customers;
SELECT "Dear Customer", customer_name || ',' FROM customers;
SELECT 'Dear Customer ' || customer_name ',' FROM customers;
SELECT 'Dear Customer ' || customer_name || ',' FROM customers;
SELECT "Dear Customer " || customer_name || "," FROM customers;
SELECT 'Dear Customer ' || customer_name || ',' || FROM customers;
Rate this question:
SELECT category, SUM(price * quantity) TOTAL, location FROM inventory WHERE price > 100.00 GROUP BY category;
SELECT category, location, SUM(price) FROM inventory WHERE price > 100.00 GROUP BY category, location;
SELECT category, SUM(price * quantity) TOTAL, location FROM inventory WHERE price > 100.00;
SELECT category, SUM(price * quantity) TOTAL, location FROM inventory WHERE price > 100.00 GROUP BY category, location;
Rate this question:
SER_NO
ORDER_ID
STATUS
PROD_ID
ORD_TOTAL
Composite index on ORDER_ID and ORDER_DATE
Rate this question:
Convert 10 to ‘TEN’
Convert ‘10’ to 10
Convert ‘10’ to ‘10’
Convert ‘TEN’ to 10
Convert a date to a character expression
Convert a character expression to a date
Rate this question:
CONCAT
ROUND
TRUNC
RPAD
INSTR
Rate this question:
ALTER TABLE customers ADD CONSTRAINT cust_name_nn CHECK customer_name IS NOT NULL;
ALTER TABLE customers MODIFY CONSTRAINT cust_name_nn CHECK customer_name IS NOT NULL;
ALTER TABLE customers MODIFY customer_name CONSTRAINT cust_name_nn NOT NULL;
ALTER TABLE customers MODIFY customer_name CONSTRAINT cust_name_nn IS NOT NULL;
ALTER TABLE customers MODIFY name CONSTRAINT cust_name_nn NOT NULL;
ALTER TABLE customers ADD CONSTRAINT cust_name_nn CHECK customer_name NOT NULL;
Rate this question:
SELECT SUM(subj1, subj2, subj3) FROM marks;
SELECT SUM(subj1 + subj2 + subj3) FROM marks;
SELECT SUM(subj1), SUM(subj2), SUM(subj3) FROM marks;
SELECT MAX(subj1, subj2, subj3) FROM marks;
SELECT MINIMUM(subj1) FROM marks;
SELECT COUNT(std_id) FROM marks WHERE subj1 >= AVG(subj1);
Rate this question:
Quiz Review Timeline (Updated): Mar 18, 2023 +
Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.
Oracle SQL Fundamentals Quiz! Test
Oracle SQL Fundamentals Quiz! Test your knowledge on Oracle SQL operations, focusing on syntax, operations, and database features. Understand key SQL functionalities and enhance...
Questions:
10 |
Attempts:
784 |
Last updated:
Sep 26, 2023
|
Oracle SQL Exam Trivia Quiz!
Oracle SQL Exam Trivia Quiz tests knowledge on SQL operations, including JOINs, subqueries, and set operators. It assesses understanding of SQL syntax and functions in Oracle...
Questions:
30 |
Attempts:
164 |
Last updated:
May 31, 2024
|
Oracle SQL And PL/SQL Practice Quiz For Developers
Test your Oracle SQL and PL/SQL prowess with our Practice Quiz designed for developers. Dive into a challenging set of questions covering SQL queries, data manipulation, and...
Questions:
35 |
Attempts:
19429 |
Last updated:
Jun 28, 2024
|
ILP Oracle Prelims 2
ILP Oracle Prelims 2 is a quiz designed to assess knowledge in SQL and Oracle database management. It covers SQL queries, PL\/SQL blocks, and format functions, testing practical...
Questions:
8 |
Attempts:
79 |
Last updated:
Jun 25, 2024
|
ILP Oracle Quiz Prelims 1
ILP Oracle Quiz Prelims 1 tests knowledge on SQL syntax, table creation, role management, and datatype selections in Oracle databases. It assesses practical skills crucial for...
Questions:
16 |
Attempts:
263 |
Last updated:
Mar 22, 2023
|
Oracle Test 5
Oracle Test 5 assesses knowledge in SQL queries, table operations, and data manipulation within Oracle databases. It evaluates understanding of complex SQL statements, table...
Questions:
50 |
Attempts:
2209 |
Last updated:
Mar 22, 2023
|
Wait!
Here's an interesting quiz for you.