VF=>user  ID=>    Login Register
Feedback   FAQ   Blog
679,927 quizzes played * 1,621 active players * US$57,334 in prizes awarded

The PL/SQL Challenge offers an ever-growing library of information to help you become more expert in the Oracle technology stack. The Quizzes tab gives you access to all quizzes taken in the past. The Resources tab offers searchable access to many topics in Oracle documentation, to popular Ask Tom threads, and to fascinating blog posts from around the world. Utilities gives you quick access to SQL and PL/SQL utilities, i.e., reusable code.


All of the quizzes already taken by players are available on this page. You can search for a specific string in the topic for that question; filter for a particular type of quiz (you might, for example, want to check out the quizzes given in the last playoff); check out all the advanced quizzes, etc.

http://plsqlchallenge.com/pls/apex/f?p=10000:650:0::NO::P650_AUTHOR_ID,P650_DOMAIN_ID:,-1


View
Quiz
Played In
Feature / Summary / Author
Ended
OnDescending
%
Correct
Commentary
Daily PL/SQL Quiz

DBMS_SCHEDULER: EVALUATE_CALENDAR_STRING

With DBMS_SCHEDULER you can use the rich calendaring syntax of the database job scheduler even if you do not create a job schedule.

Author: Kim Berg Hansen (18426) [7591-448955]
2013-05-21 Tuesday-No New Comments

Last: 2013-05-21 22:05:57
Weekly SQL Quiz

SELECT Statement: Row Source Generation

Row source generation for creating dummy virtual data is useful among other things for testing, for virtual data for joining, or for inserting dummy test-data into tables in development environment.

Author: Kim Berg Hansen (18426) [7589-463816]
2013-05-17 Friday-No New Comments

Last: 2013-05-13 05:02:57
Weekly SQL Quiz

Single Row Functions: ADD_MONTHS

Remember ADD_MONTHS on the last day of the month will always return the last day of the month of the resulting month, which is not always the same day as the starting date. Particularly beware of this for the last day of february as it will change depending on leap year.

Author: Kim Berg Hansen (18426) [7550-450276]
2013-05-10 Friday-No New Comments

Last: 2013-05-08 13:18:15
Weekly SQL Quiz

Subquery Factoring: Recursive Subquery Factoring

Recursive subquery factoring makes it possible to multiply for each iteration giving us a product aggregation for a hierarchy.

Author: Kim Berg Hansen (18426) [7584-450275]
2013-05-03 Friday-No New Comments

Last: 2013-05-11 10:24:01
Weekly SQL Quiz

Single Row Functions: LPAD

LPAD and RPAD can add characters (most often spaces) to the left side or right side of strings. Used together makes it possible to center strings.

Author: Kim Berg Hansen (18426) [7545-447599]
2013-04-26 Friday-No Comments
Last: No Comments
Weekly SQL Quiz

SELECT Statement: ORDER BY Clause

If you need to dynamically sort either ascending or descending, you can simply reverse the sign for numeric data. Alternatively you can order by two expressions, which can work on all datatypes.

Author: Kim Berg Hansen (18426) [7493-446034]
2013-04-19 Friday-No Comments
Last: No Comments
PL/SQL Championship

Data Manipulation Language (DML) Statements: MERGE statement

MERGE can implement an efficient "UPSERT" operation in a single SQL call from an input array of data.

Author: Kim Berg Hansen (18426) [7419-429680]
2013-04-17 Wednesday-No Comments
Last: No Comments
PL/SQL Championship

Datetime Functions: FROM_TZ

Use of function FROM_TZ combined with expression AT TIME ZONE can implement a replacement for standard function NEW_TIME that will work with all timezones and not just USA.

Author: Kim Berg Hansen (18426) [7397-428750]
2013-04-17 Wednesday-No Comments
Last: No Comments
Weekly SQL Quiz

Single Row Functions: COALESCE

COALESCE use short circuit evaluation to only evaluate expressions when necessary. NVL on the other hand always evaluate both expressions, even when the first expression is not null.

Author: Kim Berg Hansen (18426) [7414-446033]
2013-04-12 Friday-No New Comments
Objections: REJECTED
Last: 2013-04-16 10:50:02
Weekly SQL Quiz

Single Row Functions: CEIL

CEIL is useful for "rounding up" a number. If you need to "round up" to nearest multiple of something, you can divide by that something, take CEIL on the result, and then multiply by that something.

Author: Kim Berg Hansen (18426) [7385-437037]
2013-03-29 Friday-No Comments
Last: No Comments
Weekly SQL Quiz

Analytic Functions: SUM

Analytic sums have many uses for reducing the number of times a table needs to accessed.

Author: Kim Berg Hansen (18426) [7412-435644]
2013-03-22 Friday-No Comments
Last: No Comments
Weekly SQL Quiz

Joins: Semijoins

Semijoins are helpful if you just wish to filter on existence of a row in another table (regardless of how many exist) and do not need data from that table.

Author: Kim Berg Hansen (18426) [7389-432838]
2013-03-15 Friday-No Comments
Last: No Comments
Daily PL/SQL Quiz

Data Manipulation Language (DML) Statements: MERGE statement

MERGE can be used to implement UPSERT behaviour - that is UPDATEing data if the row with the key exists, otherwise INSERTing a new row.

Author: Kim Berg Hansen (18426) [7417-421439]
2013-03-13 Wednesday-No New Comments

Last: 2013-03-15 16:46:06
Weekly SQL Quiz

Single Row Functions: ABS

ABS removes the sign from a number making it very useful for differences, where you do not care if it is higher or lower but just care about the magnitude of the difference.

Author: Kim Berg Hansen (18426) [7410-429681]
2013-03-08 Friday-No New Comments

Last: 2013-03-05 12:54:56
Weekly SQL Quiz

Functions: Analytic Functions

Different analytic functions can be used efficiently to dynamically group by periods of time defined not by fixed time intervals but by the data itself.

Author: Kim Berg Hansen (18426) [7354-420934]
2013-03-01 Friday-No Comments
Last: No Comments
1 - 15 Next