Skip to Main Content

SQuizL Archive

SquizL Archive

Start DateQuizCluesAbout This QuizAverage GuessesAverage Time (s)
Saturday, 13 December, 2025SELECT LAST_VALUE ( eva ) OVER ( ORDER BY eva ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING ) FROM astronauts1

On 13 Dec 1972, the final extra-vehicular activity (EVA) or "Moonwalk" to date began.

The LAST_VALUE function returns the final value in the window. Without the clause ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING, this returns the value from the current row rather than the final one in the table.

3256
Friday, 12 December, 2025SELECT LISTAGG ( signal ) OVER atlantic FROM radio WINDOW atlantic AS ()1

On 12 December 1901, Guglielmo Marconi received the first transatlantic radio signal (the letter "S" [•••] in Morse Code).

This statement uses the window clause, added in 21c, to define the named window atlantic, which includes all rows in the results. So this returns a list of the signal values for every row, on every row.

 

4850
Thursday, 11 December, 2025INSERT INTO ios_games ( game_name ) SELECT type FROM avians WHERE state = 'irate'1

On 11 Dec 2009, the game Angry Birds was released on iOS.

This statement inserts the result of the query on the avians table.

2298
Wednesday, 10 December, 2025ALTER TABLE spain EXCHANGE PARTITION puerto_rico WITH TABLE usa1

The Treaty of Paris was signed on 10 October 1898 between Spain and the USA. As part of this agreement, Spain ceded control of Puerto Rico to the USA.

This swaps the data in the puerto_rico partition of the table spain with the data in the USA table.

4368
Tuesday, 09 December, 2025SELECT name FROM tv_programmes WHERE first_broadcast = DATE'1960-12-09' AND last_broadcast IS NULL0

On 9 December 1960, the first episode of Coronation Street aired on British TV. It is still running today, making it the world's longest-running TV soap opera.

This statement finds rows with a first_broadcast date of 9 December 1960 and a last_broadcast value of NULL. The IS NULL condition is necessary to identify this.

2219
Monday, 08 December, 2025SELECT * FROM flags WHERE foreground = 'twelve gold stars' AND background = 'blue'1

On 8 Dec 1995, the Council of Europe adopted the Flag of Europe: twelve gold stars on a blue field.

2259
Sunday, 07 December, 2025SELECT * FROM galileo_route START WITH from_planet = 'earth' CONNECT BY from_planet = PRIOR to_planet1

On 7 Dec 1995, the Galileo spacecraft, the first to orbit an outer planet, arrived at Jupiter.

This uses CONNECT BY to make a hierarchical query following the route Galileo took from Earth to Jupiter.

3404
Saturday, 06 December, 2025SELECT * FROM planets p WHERE EXISTS ( SELECT 'watery planets' FROM surface_water sw WHERE p.id = sw.planet_id )1

On 6 Dec 2006, NASA revealed photographs taken by Mars Global Surveyor suggesting the presence of liquid water on Mars.

This uses EXISTS to return the planets that have a row in the surface_water table.

2442
Friday, 05 December, 2025DELETE planes WHERE location = 'Bermuda Triangle' AND disappeared_on = TO_DATE ( '5-Dec-1945', 'dd-Mon-yyyy' )1

On 5 Dec 1945, Flight 19, a group of five TBM Avenger torpedo bombers, disappeared over the Bermuda Triangle.

2720
Thursday, 04 December, 2025INSERT INTO newspapers ( name, issued_on ) SELECT 'Observer', day FROM dates WHERE 'Sun' = TO_CHAR ( day, 'Dy' )1

On 4 Dec 1791, the first edition of The Observer, the world's first Sunday newspaper, was published.

The “Dy” format model returns the three-letter abbreviation of the day of the week, so this loads all the Sundays in the dates table.

2420
Wednesday, 03 December, 2025SELECT colour FROM lights INNER JOIN gases USING ( gas_id ) WHERE gas_name = 'Neon'1

On 3 Dec 1910, neon lighting was first demonstrated by Georges Claude at the Paris Motor Show.

This joins the lights and gases tables. The using clause assumes both tables have a column named gas_id

2225
Tuesday, 02 December, 2025GRANT SELECT , INSERT, UPDATE, DELETE, REFERENCES ON media TO press1

On 2 December 1766, Swedish parliament approves the Swedish Freedom of the Press Act, thus becoming the first in the world with freedom of speech.

This grants the press user select, insert, update, delete, and foreign key privileges on the media table.

4290
Monday, 01 December, 2025UPDATE underground u SET u.opened_on = DATE'1913-12-01' WHERE u.city = 'Buenos Aires'1

On 1 December 1913, the Buenos Aires Underground aka Subte began operation.

2362
Sunday, 30 November, 2025SELECT * FROM games g JOIN teams h ON g.home_team = h.id JOIN teams a ON g.away_team = a .id WHERE game_day = DATE'1872-11-30'1

The first international football match was held at Hamilton Crescent, Glasgow, between Scotland and England.

This statement joins the home and away teams to the games table.

2273
Saturday, 29 November, 2025ALTER TABLE teams MODIFY PARTITION spain ADD SUBPARTITION barcelona VALUES ( 'FC Barcelona' )1

On 29 Nov 1899, Futbol Club Barcelona was formed.

This adds the Barcelona subpartition to the Spain partition of a *-list partitioned table.

3301
Friday, 28 November, 2025ALTER TABLE countries SPLIT PARTITION portugal VALUES ( 'Dili' ) INTO ( PARTITION timor_leste, PARTITION )1

On 28 November 1975, Timor-Leste gained independence from Portugal.

This splits the Portugal partition into two; the timor_leste partition contains rows with the value “Dili” for the partition column.

4668
Thursday, 27 November, 2025SELECT p.name, p.alter_ego AS hero FROM people p WHERE p .mark = 'Z'1

On 27 November 1920, the film The Mark of Zorro was released in the USA.

2941
Wednesday, 26 November, 2025UPDATE concorde c SET c.last_flew_on = ( SELECT MAX ( f.flight_date ) FROM flights f WHERE f.aircraft = 'Concorde' )1

On 26 Nov 2003, Concorde made its final flight.

2681
Tuesday, 25 November, 2025SELECT play FROM west_end_shows GROUP BY play ORDER BY COUNT (*) DESC FETCH FIRST 1 ROW ONLY1

On 25 Nov 1952, The Mousetrap opened at the Ambassadors Theatre in London's West End. It still runs today, making it the longest continuously running play in history.

3743
Monday, 24 November, 2025ALTER TABLE people ADD CONSTRAINT celebrate_your UNIQUE ( talent )1

It's Celebrate Your Unique Talent Day!

This adds a unique constraint to the talent column of the table people.

3328
Sunday, 23 November, 2025GRANT ALL PRIVILEGES ON SCHEMA liberia TO ellen_sirleaf WITH ADMIN OPTION1

On 23 Nov 2005, Ellen Johnson Sirleaf was elected president of Liberia, becoming the first woman to lead an African country.

This statement grants the user ellen_sirleaf schema-level privileges on the schema liberia. The WITH ADMIN OPTION clause enables this user to manage these privileges for other users

4345
Saturday, 22 November, 2025ALTER SESSION SET NLS_LANGUAGE = albanian NLS_CURRENCY = lek NLS_TERRITORY = albania1

It's the Day of the Albanian Alphabet, celebrating the Congress of Manastir, which established the Albanian alphabet on this day in 1908.

This statement sets the current session to use Albanian settings.

3442
Friday, 21 November, 2025CREATE DOMAIN relativity AS ( energy AS NUMBER, mass AS NUMBER ) CHECK ( energy = mass * POWER ( 299792458, 2 ) )1

On 21 Nov 1905, Albert Einstein's paper, which led to the mass–energy equivalence formula, E = mc², was published in the journal Annalen der Physik.

This creates a use case domain to represent mass–energy equivalence.

2668
Thursday, 20 November, 2025CREATE TABLE windows_os ( version_name VARCHAR2 (10) NOT NULL, released_on DATE NOT NULL )1

Microsoft Windows 1.0 was released on 20 November 1985.

21161
Wednesday, 19 November, 2025SELECT given_name, family_name FROM people ORDER BY moon_walk_date OFFSET 2 ROWS FETCH FIRST 2 ROWS ONLY0

On 19 Nov 1969, Pete Conrad and Alan Bean became the third and fourth people to walk on the moon.

This uses the OFFSET clause to fetch the third and fourth in the sorted data set.

3400
Tuesday, 18 November, 2025INSERT INTO newspaper ( comic ) SELECT adventures FROM calvin JOIN hobbes USING ( friendship )1

On 18 Nov 1985, the first Calvin and Hobbes comic was published in newspapers.

3428
Monday, 17 November, 2025UPDATE julian_dates SET j_day = j_day - 2400000.5 WHERE TO_DATE ( j_day, 'J' ) >= DATE'1858-11-17'1

17 Nov 1868 is the start of the Modified Julian Date calendar. This is calculated as standard Jualian dates minus 2,400,000.

The “J” format in Oracle AI Database converts dates using the standard Julian calendar.

2392
Sunday, 16 November, 2025CREATE TABLE IF NOT EXISTS unesco ( founded_on DATE, founded_year AS ( EXTRACT ( YEAR FROM founded_on ) ), address JSON ) 1

On 16 November 1945, The United Nations Educational, Scientific and Cultural Organization (UNESCO) was formed

3371
Saturday, 15 November, 2025DELETE fridge_contents WHERE expired_on < SYSDATE RETURNING waste INTO :bin1

It's Clean Out Your Refrigerator Day!

Clear out all the expired or untouched foods from your fridge, just like this statement removed rows with expired_on in the past.

2292
Friday, 14 November, 2025SELECT shape FROM carbon_shapes GROUP BY shape HAVING COUNT ( pentagons ) = 12 AND COUNT ( hexagons ) = 201

On 14 November 1985, the discovery of C60 (Buckminsterfullerene) was published in the journal Nature. This structure resembles a football with 12 pentagons
and 20 hexagons.

2764
Thursday, 13 November, 2025ALTER TABLE european_union ADD PARTITION sweden VALUES ( 'sweden' )0

On 13 November 1994, in a referendum, Sweden voted to join the European Union.

This adds the list partition sweden to the table, which stores rows with the value “sweden”.

3273
Wednesday, 12 November, 2025SELECT price - ( price * discount / 100 ) FROM products WHERE happy = EXTRACT ( HOUR FROM CURRENT_TIMESTAMP)1

It's Happy Hour Day! A time when many bars and restaurants have reduced prices.

This statement reduces the price of a product by its discount percentage.

2431
Tuesday, 11 November, 2025CREATE TABLE tychos_supernova ( constellation VARCHAR2 (255) NOT NULL, host_galaxy VARCHAR2 (255) NOT NULL )1

On 11 November 1521, Tycho Brahe observed the supernova SN 1572, often referred to as Tycho's Supernova.

2274
Monday, 10 November, 2025ALTER TABLE spain EXCHANGE PARTITION panama WITH TABLE colombia WITHOUT VALIDATION UPDATE GLOBAL INDEXES1

On 10 November 1821, residents of the Azuero, Panama declared independence from the Spanish Empire. This eventually led to Panama joining the Republic of Colombia.

This statement swaps the data in the panama partition of the table spain with the data in the colombia table.

4386
Sunday, 09 November, 2025ALTER TABLE elements ADD ( UNIQUE ( symbol ), CHECK ( REGEXP_LIKE ( symbol, '[A-Z][a-z]?') ) )1

On 9 November 1994, the synthetic chemical element Darmstadtium was discovered.

This adds constraints ensuring that the values of symbol are unique and an uppercase letter, optionally followed by a lowercase letter.

4608
Saturday, 08 November, 2025SELECT she_sells, seashells FROM seashore WHERE shells = she_sells AND shells = seashells AND im_sure1

It's Tongue Twister Day!

To celebrate, today's SQuizL is in the form of the popular tongue twister, “She sells sea-shells by the sea-shore”.

The column im_sure uses the Boolean data type, so “AND im_sure” returns all the rows where it's true.

3486
Friday, 07 November, 2025INSERT INTO presidents ( name, country ) VALUES ( 'Mary Robinson', 'Ireland' ) RETURN president_id INTO :new_id1

On 7 November 1990, Mary Robinson was the first woman to be elected President of the Republic of Ireland.

2216
Thursday, 06 November, 2025SELECT city, winner FROM marathons GROUP BY city, winner ORDER BY COUNT (*) DESC FETCH FIRST ROW ONLY1

On 6 November 1988, Grete Waitz won the New York Marathon for a record ninth time. This remains the record for the most marathon victories in a single city.

21070
Wednesday, 05 November, 2025SELECT name FROM president_terms WHERE country = 'US' GROUP BY name HAVING COUNT (*) > 21

On 5 November 1940, Franklin D. Roosevelt became the first and only president of the USA to be elected for a third term.

2299
Tuesday, 04 November, 2025SELECT entrance FROM tombs WHERE location = 'Egypt' AND entombed = 'tutankhamun' COLLATE binary_ai1

On 4 November 1922, the entrance to the tomb of Tutankhamun was discovered in the Valley of the Kings in Egypt.

2231
Monday, 03 November, 2025SELECT a.name FROM spacecraft s JOIN animals a ON a.spacecraft_id = s.id ORDER BY s. launch_date FETCH FIRST ROW ONLY1

On 3 November 1957, the dog Laika became the first animal to travel into space aboard Sputnik 2.

2370
Sunday, 02 November, 2025ALTER DATABASE new_zealand SET TIME_ZONE = 'Pacific/Auckland'1

On 2 November 1868, New Zealand adopted standard time nationwide.

This sets the database's time zone to Pacific/Auckland; this change takes effect after you restart the database.

3254
Saturday, 01 November, 2025CREATE OR REPLACE VIEW fresco AS SELECT painting FROM sistine_chapel WHERE location = 'ceiling'1

The fresco painted by Michelangelo on the ceiling of the Sistine Chapel was first displayed to the public on 1 November 1512.

2194
Friday, 31 October, 2025UPDATE flights SET destination = 'BER' WHERE destination IN ( 'TXL', 'SXF' )1

After many delays, Berlin Brandenburg Airport (BER) finally opened 31 October 2020. Over the following days, flights for Tegel (TXL) and Schönefeld (SXL) transitioned to the new airport.

2301
Thursday, 30 October, 2025INSERT INTO architects ( given_name, family_name ) VALUES ( 'Christopher' , 'Wren' )0

Sir Christopher Wren, one of the most highly acclaimed architects in the history of England, was born on 30 October 1632.

2689
Wednesday, 29 October, 2025SELECT c1.name AS sds_sigma_7, c2.name AS sds_940 FROM computer c1 JOIN computer c2 USING ( arpanet )1

On 29th October 1969, the first computer-to-computer link was established on ARPANET, a development which eventually lead to the internet.

2560
Tuesday, 28 October, 2025UPDATE ( SELECT * FROM olympics WHERE city = 'Paris' ) SET end_date = DATE'1900-10-28'1

On 28 October 1900, the Games of the II Olympiad held in Paris ended after five months of events.

This statement updates the result of the subquery. In this case, the subquery is unnecessary; the statement could be written as

UPDATE olympics SET end_date = DATE'1900-10-28' WHERE city = 'Paris' 

31029
Monday, 27 October, 2025SELECT toll FROM bridges WHERE region = 'Holland' EXCEPT SELECT toll FROM bridges WHERE region = 'Amsterdam'1

27 October 1275 is considered the traditional foundation date of the city of Amsterdam. The first mention of Amsterdam appears in a document on this date which exempts its inhabitants from bridge tolls in the county of Holland.

2518
Sunday, 26 October, 2025SELECT * FROM hudson_river INNER JOIN lake_erie USING ( canal ) WHERE engineer = 'Benjamin Wright'1

On 26 October 1825, the Erie Canal, connecting Lake Erie to the Hudson River, was completed. The principal engineer was Benjamin Wright.

2278
Saturday, 25 October, 2025CREATE TABLE stock_exchanges ( name VARCHAR2 (30) , currency VARCHAR2 (3) DEFAULT 'CAD' )0

The Toronto Stock Exchange was formed on 25 October 1861.

2202
  • 1 - 50