Skip to content

Completed SQL assessment using Trino-compatible SQL.#80

Open
ArizAnsari1994 wants to merge 1 commit into
sbms4d:mainfrom
ArizAnsari1994:ariz-ansari-sql-test
Open

Completed SQL assessment using Trino-compatible SQL.#80
ArizAnsari1994 wants to merge 1 commit into
sbms4d:mainfrom
ArizAnsari1994:ariz-ansari-sql-test

Conversation

@ArizAnsari1994

Copy link
Copy Markdown

Validation:

  • employee table created with 9 rows
  • expense table created with 7 rows
  • supplier table created with 5 rows
  • invoice table created with 6 rows
  • manager cycle employees identified as 1, 2, and 4
  • largest expensor identified as Alex Jacobson with 1682.00
  • supplier payment plan generated with monthly payment amounts and running balances

Notes:

  • Used dynamic due dates based on current_date.
  • Used recursive SQL for manager-cycle detection.
  • Used decimal handling so supplier payment balances close to 0.00.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant