rental
29 rows where customer_id = 538
This data as json, xlsx, CSV (advanced)
Suggested facets: staff_id, last_update, rental_date (date), return_date (date), last_update (date)
| rental_id ▼ | rental_date | inventory_id | customer_id | return_date | staff_id | last_update |
|---|---|---|---|---|---|---|
| 594 | 2005-05-28 13:41:56.000 | 2766 2766 | 538 538 | 2005-05-30 12:00:56.000 | 1 1 | 2020-12-23 07:15:27 |
| 734 | 2005-05-29 07:38:52.000 | 3084 3084 | 538 538 | 2005-06-03 10:17:52.000 | 2 2 | 2020-12-23 07:15:29 |
| 1314 | 2005-06-15 10:21:45.000 | 1359 1359 | 538 538 | 2005-06-21 14:10:45.000 | 1 1 | 2020-12-23 07:15:37 |
| 1912 | 2005-06-17 05:18:32.000 | 4136 4136 | 538 538 | 2005-06-20 10:01:32.000 | 2 2 | 2020-12-23 07:15:45 |
| 2682 | 2005-06-19 12:18:17.000 | 3609 3609 | 538 538 | 2005-06-28 14:09:17.000 | 1 1 | 2020-12-23 07:15:56 |
| 3189 | 2005-06-20 23:19:33.000 | 1502 1502 | 538 538 | 2005-06-24 17:46:33.000 | 1 1 | 2020-12-23 07:16:03 |
| 3554 | 2005-07-06 02:37:10.000 | 793 793 | 538 538 | 2005-07-09 01:58:10.000 | 1 1 | 2020-12-23 07:16:09 |
| 5135 | 2005-07-09 07:53:22.000 | 3005 3005 | 538 538 | 2005-07-16 04:50:22.000 | 2 2 | 2020-12-23 07:16:33 |
| 5369 | 2005-07-09 18:42:16.000 | 1550 1550 | 538 538 | 2005-07-12 18:16:16.000 | 2 2 | 2020-12-23 07:16:36 |
| 5486 | 2005-07-09 23:57:44.000 | 2864 2864 | 538 538 | 2005-07-14 00:23:44.000 | 1 1 | 2020-12-23 07:16:38 |
| 5898 | 2005-07-10 20:18:09.000 | 3257 3257 | 538 538 | 2005-07-16 14:44:09.000 | 1 1 | 2020-12-23 07:16:44 |
| 6130 | 2005-07-11 08:19:56.000 | 2547 2547 | 538 538 | 2005-07-16 12:02:56.000 | 2 2 | 2020-12-23 07:16:47 |
| 6332 | 2005-07-11 19:19:06.000 | 1733 1733 | 538 538 | 2005-07-13 13:51:06.000 | 2 2 | 2020-12-23 07:16:50 |
| 6936 | 2005-07-26 23:13:34.000 | 60 60 | 538 538 | 2005-07-30 19:14:34.000 | 1 1 | 2020-12-23 07:16:59 |
| 7694 | 2005-07-28 03:39:25.000 | 2892 2892 | 538 538 | 2005-07-31 05:47:25.000 | 1 1 | 2020-12-23 07:17:10 |
| 8765 | 2005-07-29 19:40:08.000 | 2631 2631 | 538 538 | 2005-07-31 14:24:08.000 | 2 2 | 2020-12-23 07:17:26 |
| 9307 | 2005-07-30 16:52:43.000 | 3831 3831 | 538 538 | 2005-08-01 11:58:43.000 | 1 1 | 2020-12-23 07:17:34 |
| 9643 | 2005-07-31 05:35:48.000 | 3576 3576 | 538 538 | 2005-08-08 04:28:48.000 | 2 2 | 2020-12-23 07:17:38 |
| 9897 | 2005-07-31 14:11:57.000 | 3945 3945 | 538 538 | 2005-08-02 12:20:57.000 | 1 1 | 2020-12-23 07:17:42 |
| 9939 | 2005-07-31 15:29:00.000 | 3049 3049 | 538 538 | 2005-08-08 11:09:00.000 | 1 1 | 2020-12-23 07:17:43 |
| 10701 | 2005-08-01 18:28:17.000 | 3958 3958 | 538 538 | 2005-08-09 21:51:17.000 | 1 1 | 2020-12-23 07:17:54 |
| 10732 | 2005-08-01 19:25:18.000 | 2810 2810 | 538 538 | 2005-08-10 22:26:18.000 | 1 1 | 2020-12-23 07:17:54 |
| 10962 | 2005-08-02 03:48:13.000 | 1953 1953 | 538 538 | 2005-08-07 00:04:13.000 | 1 1 | 2020-12-23 07:17:57 |
| 12089 | 2005-08-17 22:20:29.000 | 651 651 | 538 538 | 2005-08-24 02:12:29.000 | 1 1 | 2020-12-23 07:18:12 |
| 13544 | 2005-08-20 03:44:26.000 | 58 58 | 538 538 | 2005-08-27 22:11:26.000 | 1 1 | 2020-12-23 07:18:33 |
| 13770 | 2005-08-20 11:45:54.000 | 998 998 | 538 538 | 2005-08-22 17:08:54.000 | 1 1 | 2020-12-23 07:18:37 |
| 14572 | 2005-08-21 16:44:31.000 | 1397 1397 | 538 538 | 2005-08-26 16:35:31.000 | 2 2 | 2020-12-23 07:18:49 |
| 14591 | 2005-08-21 17:30:09.000 | 3410 3410 | 538 538 | 2005-08-24 12:27:09.000 | 1 1 | 2020-12-23 07:18:49 |
| 15343 | 2005-08-22 21:01:25.000 | 2589 2589 | 538 538 | 2005-08-28 16:15:25.000 | 1 1 | 2020-12-23 07:19:00 |
Advanced export
JSON shape: default, array, newline-delimited, object
CREATE TABLE rental ( rental_id INT NOT NULL, rental_date TIMESTAMP NOT NULL, inventory_id INT NOT NULL, customer_id INT NOT NULL, return_date TIMESTAMP DEFAULT NULL, staff_id SMALLINT NOT NULL, last_update TIMESTAMP NOT NULL, PRIMARY KEY (rental_id), CONSTRAINT fk_rental_staff FOREIGN KEY (staff_id) REFERENCES staff (staff_id) , CONSTRAINT fk_rental_inventory FOREIGN KEY (inventory_id) REFERENCES inventory (inventory_id) , CONSTRAINT fk_rental_customer FOREIGN KEY (customer_id) REFERENCES customer (customer_id) ); CREATE INDEX idx_rental_fk_inventory_id ON rental(inventory_id) ; CREATE INDEX idx_rental_fk_customer_id ON rental(customer_id) ; CREATE INDEX idx_rental_fk_staff_id ON rental(staff_id) ; CREATE UNIQUE INDEX idx_rental_uq ON rental (rental_date,inventory_id,customer_id) ;