Data update
This commit is contained in:
parent
81fd053722
commit
52a6ef48dd
10248 changed files with 63654 additions and 6775 deletions
|
|
@ -1,12 +1,12 @@
|
|||
An [[wp:Join_(SQL)#Inner_join|inner join]] is an operation that combines two data tables into one table, based on matching column values. The simplest way of implementing this operation is the [[wp:Nested loop join|nested loop join]] algorithm, but a more scalable alternative is the [[wp:hash join|hash join]] algorithm.
|
||||
|
||||
{{task heading}}
|
||||
;Task
|
||||
|
||||
Implement the "hash join" algorithm, and demonstrate that it passes the test-case listed below.
|
||||
|
||||
You should represent the tables as data structures that feel natural in your programming language.
|
||||
|
||||
{{task heading|Guidance}}
|
||||
;Guidance
|
||||
|
||||
The "hash join" algorithm consists of two steps:
|
||||
|
||||
|
|
@ -33,7 +33,7 @@ In pseudo-code, the algorithm could be expressed as follows:
|
|||
'''let''' ''c'' = the concatenation of row ''a'' and row ''b''
|
||||
'''place''' row ''c'' in table ''C''
|
||||
|
||||
{{task heading|Test-case}}
|
||||
;Test case
|
||||
|
||||
{| class="wikitable"
|
||||
|-
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue