My onsite interview for a Data Engineer role at Zoox involved multiple rounds. The SQL portion was straightforward, while the subsequent loop covered a broader range of data engineering topics, including behavioral and...
Interview Details
Interview Questions Details
SQL Round — Schema: The SQL round lasted one hour and used two tables: transactions and vendors. The schema and sample data were roughly as follows:
-- transactions-- Each row represents one credit card transaction.transaction_id INT-- unique id for each transactionvendor_id INT-- id of the vendoramount_charged INT-- amount charged in this transactiontransaction_type VARCHAR-- 'PURCHASE' or 'REFUND'refund_transaction_id INT-- original transaction id if this is a refund, else NULLtimestampDATETIME-- time when the transaction happened
-- transactions-- Each row represents one credit card transaction.transaction_id INT-- unique id for each transactionvendor_id INT-- id of the vendoramount_charged INT-- amount charged in this transactiontransaction_type VARCHAR-- 'PURCHASE' or 'REFUND'refund_transaction_id INT-- original transaction id if this is a refund, else NULLtimestampDATETIME-- time when the transaction happened
-- vendors-- Each row represents one vendor.vendor_id INT-- unique vendor idcity VARCHAR-- city of the vendorstate VARCHAR-- state of the vendorcountry VARCHAR-- country of the vendor
-- vendors-- Each row represents one vendor.vendor_id INT-- unique vendor idcity VARCHAR-- city of the vendorstate VARCHAR-- state of the vendorcountry VARCHAR-- country of the vendor
Sample vendors:
+-----------+----------+-------+---------+
| vendor_id | city | state | country |
+-----------+----------+-------+---------+
| 1 | San Jose | CA | US |
| 2 | San Jose | CA | US |
| 3 | Austin | TX | US |
| 4 | Seattle | WA | US |
| 5 | Dallas | TX | US
Sample vendors:
+-----------+----------+-------+---------+
| vendor_id | city | state | country |
+-----------+----------+-------+---------+
| 1 | San Jose | CA | US |
| 2 | San Jose | CA | US |
| 3 | Austin | TX | US |
| 4 | Seattle | WA | US |
| 5 | Dallas | TX | US
Unlock Full Details
Create a free account to unlock this interview experience report.