← Back to Dictionary

Union

1 / 3
🎧 Podcast 1 — Introduction

Union

Noun · /ˈjuːniən/ · the act or state of joining two or more things into one

In this course, union means act or result of joining two or more. The introduction ties that sense to unite. See the Cambridge English entry and the Merriam-Webster entry. Encyclopedic background is in Union.

Definition
Union is the act or result of joining two or more things, people, or groups together to form a single entity. It can describe a political union of states, a trade union of workers, the union of two companies through a merger, or the mathematical union of two sets. At its core, union always implies that separate things have come together and now function as one — without necessarily losing their individual identities entirely. The United Kingdom is a union. A joint venture is a union. A marriage is a union.
Origin
Union comes from the Latin unio, meaning oneness or a single large pearl — from unus, one. The pearl sense was specific: a single perfect gem was called a union because it was complete in itself, whole. By the fourteenth century in English, union had extended to mean any joining into one. The political sense — a union of states or kingdoms — appears by the sixteenth century. The trade union sense — workers united to negotiate collectively — developed in the eighteenth and nineteenth centuries alongside industrial labour movements.
Ready
🎧 Podcast 2 — Daily Use

Union in Conversation

Two British speakers · Real everyday dialogue

Ready
⚙ Podcast 3 — Prompt Engineering

Union — AI Prompts

Practical prompt cards · Copy & read aloud

Ready

Transcript: “Union” vocabulary micro-course

Read along with the three podcasts, or open the full dictionary entry for Union for the definition, Arabic meaning, synonyms and example sentences.

Podcast 1 — Introduction & meaning

Narrator: Union. Two syllables. /ˈjuːniən/. A word that names the most fundamental act of coming together — separate things becoming one.

Narrator: Union is a noun. At its simplest, it means the joining of two or more things into a single whole. A trade union brings workers together under one collective voice. A political union combines separate states into a single governing body. A database union combines the results of two queries into one dataset. In mathematics, the union of two sets contains all elements from both. In every domain, union carries the same essential meaning: boundaries dissolve and what was separate becomes one.

Narrator: The word comes from the Latin unio, derived from unus — one. There is a remarkable detail in the etymology: in classical Latin, unio specifically referred to a single large pearl — a gem so perfect and complete in itself that it was called a union, a oneness. By the Middle Ages the word had spread in English to describe any joining into wholeness. The political sense — a union of kingdoms or states — was well established by the sixteenth century. The trade union sense appeared in the eighteenth century as the industrial revolution created new labour collectives.

Narrator: Union operates across an unusually wide range of registers and domains. In politics, it names great national and supranational structures — the European Union, the United States, the Acts of Union. In labour relations, it names the collective organisation through which workers negotiate. In computing and mathematics, it names a specific operation that combines sets or query results. In everyday life, union describes marriage, partnership, and collaboration. The word is always about oneness — but the scale can be intimate or vast.

Narrator: Union sits comfortably in formal, professional, and technical writing. It is never casual — you would not say let's do a union when you mean let's meet. But in the right context it is precise, powerful, and carries centuries of meaning. Union of ideas, union of purpose, union of data — the word implies intention, structure, and the strength that comes from combining.

Narrator: Union. From a single perfect pearl to the largest confederations in history — always the same idea. Separate things, made whole.

Speaker A: I keep confusing union with join in database contexts. Are they the same thing?

Speaker B: They are related but distinct. A SQL JOIN combines rows from two tables based on a related column — you get a new set of columns, merging data horizontally. A UNION combines the results of two separate SELECT queries and stacks them vertically — you get more rows, not more columns. UNION requires both queries to return the same number of columns with compatible data types. Very different operations, easy to mix up.

Speaker A: Right, so UNION is more like appending two result sets together.

Speaker B: Exactly. And there is a further distinction: UNION removes duplicate rows by default, while UNION ALL keeps them all. If you want every row from both queries, including duplicates, UNION ALL is faster because it skips the deduplication step. The word union in the SQL context maps directly to the mathematical set union — all elements from both sets, with duplicates optionally removed.

Speaker A: What about in non-technical contexts? I see union used in business a lot.

Speaker B: Very commonly. A merger or acquisition creates a union of two companies. A strategic alliance can be called a union of interests. In HR, trade union refers to the workers' representative body. In employment contracts, union membership rights are often explicitly addressed. The word carries weight in professional settings because it implies formal, structured combination — not just cooperation, but actual merger of purpose or organisation.

Speaker A: And in everyday language? Is union too formal for casual speech?

Speaker B: Mostly yes — union sounds deliberate and structural. In casual conversation you would say they merged, they joined forces, they teamed up. Union tends to appear in speeches, formal documents, and professional writing. The exception is trade union, which British people use completely naturally in everyday speech — I'm in the union, the union called a meeting. In that specific context, union is entirely ordinary.

Speaker B: Today we build with the word union in prompt engineering. Union is powerful because it describes combining — data, teams, systems, queries. It gives the AI a precise structural instruction. Let me walk you through six prompts.

Speaker A: Union as a structural term — that is a great framing. The AI knows immediately that two things are being merged into one.

Speaker B: Prompt one — SQL report builder. Build a SQL query editor. Let the user write two SELECT statements and run a UNION to combine results. Display the merged rows in a table with duplicate-row highlighting. Dark dev UI.

Speaker A: Two SELECT statements, UNION operation, duplicate highlighting — three precise specs. The AI gets the data model, the operation, and the visual output in one sentence. Clean SQL tool prompt.

Speaker B: Prompt two — team merger dashboard. Build an org chart tool. When two teams are marked for union, merge their members into a single department node with a transition animation. Dark HR UI.

Speaker A: Teams marked for union, merge into single node, transition animation — the word union becomes the trigger for both the data operation and the visual behaviour. Elegant.

Speaker B: Prompt three — tag library manager. Build a tag management tool. Allow the user to select two tag groups and perform a union — combining all unique tags from both into a new merged group. Dark content UI.

Speaker A: Union here means mathematical set union — all unique tags from both groups. The AI knows to deduplicate. Two inputs, one merged output. A practical content management tool in one sentence.

Speaker B: Prompt four — accounting consolidation tool. Build a financial consolidation dashboard. Combine figures from two subsidiary accounts using union logic — sum shared categories, add unique ones. Show the consolidated result. Dark finance UI.

Speaker A: Sum shared categories, add unique ones — that is the union rule applied to financial data. The AI gets the merge logic without ambiguity. A real accounting consolidation pattern.

Speaker B: Prompt five — search results aggregator. Build a search tool that queries two data sources. Merge the results using union — remove duplicates by ID, sort by relevance score. Show source badges on each result. Dark search UI.

Speaker A: Union with deduplication by ID, sort by relevance, source badges — three clear specs. The AI knows how to merge, deduplicate, and present the merged results. Perfect search aggregator logic.

Speaker B: Prompt six — permission set editor. Build a role permissions tool. Let admins union two permission sets — combining all allowed actions from both into a single merged role. Show a diff view before confirming. Dark admin UI.

Speaker A: Union two permission sets, diff view before confirm — the AI gets the operation and the safety step. The confirm gate is a great UX detail that keeps destructive union operations auditable.

Speaker B: Six prompts — union as the instruction to combine. Give the AI two inputs and tell it to union them. The result is always one thing, made from two.