Your question is Word Frequency SQL Query. Start with the requirements and the two tables on the right.
Run and submit as often as you like. When you're ready, talk me through your approach or go straight to the code.
Intuit's TurboTax content pipeline stores uploaded text files as individual tokens for quality checks. Write a PostgreSQL query that reports how many times each word appears in turbotax-help.txt.
document_id.| Column | Type | Description |
|---|---|---|
| document_idPK | INT | Unique file identifier |
| file_name | VARCHAR(255) | Uploaded file name |
| product_name | VARCHAR(100) | Intuit product associated with the file |
| uploaded_at | DATE | Date the file was uploaded |
| Column | Type | Description |
|---|---|---|
| token_idPK | INT | Unique token identifier |
| document_id | INT | References documents.document_id |
| token_position | INT | Token position within the document |
| token | VARCHAR(255) | Raw extracted token |