rental
31 rows where customer_id = 293
This data as json, xlsx, CSV (advanced)
Suggested facets: staff_id, rental_date (date), return_date (date), last_update (date)
| rental_id ▼ | rental_date | inventory_id | customer_id | return_date | staff_id | last_update |
|---|---|---|---|---|---|---|
| 445 | 2005-05-27 18:42:57.000 | 1757 1757 | 293 293 | 2005-05-30 22:35:57.000 | 2 2 | 2020-12-23 07:15:25 |
| 924 | 2005-05-30 12:10:59.000 | 3279 3279 | 293 293 | 2005-06-04 17:28:59.000 | 1 1 | 2020-12-23 07:15:32 |
| 1034 | 2005-05-31 04:53:40.000 | 4117 4117 | 293 293 | 2005-06-09 08:25:40.000 | 2 2 | 2020-12-23 07:15:33 |
| 1589 | 2005-06-16 04:58:03.000 | 4307 4307 | 293 293 | 2005-06-24 08:36:03.000 | 1 1 | 2020-12-23 07:15:41 |
| 1829 | 2005-06-16 22:14:21.000 | 617 617 | 293 293 | 2005-06-21 16:51:21.000 | 1 1 | 2020-12-23 07:15:44 |
| 1860 | 2005-06-17 01:17:12.000 | 1853 1853 | 293 293 | 2005-06-21 22:35:12.000 | 1 1 | 2020-12-23 07:15:45 |
| 2386 | 2005-06-18 15:22:51.000 | 1361 1361 | 293 293 | 2005-06-22 20:01:51.000 | 1 1 | 2020-12-23 07:15:52 |
| 3025 | 2005-06-20 11:46:48.000 | 1309 1309 | 293 293 | 2005-06-22 08:43:48.000 | 1 1 | 2020-12-23 07:16:01 |
| 3290 | 2005-06-21 06:45:34.000 | 2727 2727 | 293 293 | 2005-06-28 09:44:34.000 | 1 1 | 2020-12-23 07:16:05 |
| 3452 | 2005-06-21 21:11:27.000 | 2646 2646 | 293 293 | 2005-06-24 16:31:27.000 | 1 1 | 2020-12-23 07:16:07 |
| 3906 | 2005-07-06 19:35:55.000 | 1383 1383 | 293 293 | 2005-07-15 22:35:55.000 | 1 1 | 2020-12-23 07:16:14 |
| 4343 | 2005-07-07 18:48:54.000 | 1926 1926 | 293 293 | 2005-07-12 15:19:54.000 | 1 1 | 2020-12-23 07:16:21 |
| 4542 | 2005-07-08 04:06:30.000 | 4169 4169 | 293 293 | 2005-07-16 06:54:30.000 | 2 2 | 2020-12-23 07:16:24 |
| 4944 | 2005-07-08 22:44:28.000 | 3648 3648 | 293 293 | 2005-07-17 21:51:28.000 | 2 2 | 2020-12-23 07:16:30 |
| 5765 | 2005-07-10 13:03:02.000 | 2619 2619 | 293 293 | 2005-07-16 09:31:02.000 | 1 1 | 2020-12-23 07:16:42 |
| 6432 | 2005-07-12 00:09:41.000 | 970 970 | 293 293 | 2005-07-20 20:06:41.000 | 1 1 | 2020-12-23 07:16:51 |
| 7607 | 2005-07-28 00:05:53.000 | 3914 3914 | 293 293 | 2005-07-31 04:13:53.000 | 1 1 | 2020-12-23 07:17:09 |
| 8589 | 2005-07-29 12:28:17.000 | 1628 1628 | 293 293 | 2005-08-05 11:40:17.000 | 1 1 | 2020-12-23 07:17:23 |
| 8745 | 2005-07-29 19:03:05.000 | 1766 1766 | 293 293 | 2005-08-06 14:06:05.000 | 2 2 | 2020-12-23 07:17:26 |
| 9123 | 2005-07-30 09:39:15.000 | 3748 3748 | 293 293 | 2005-08-02 08:12:15.000 | 2 2 | 2020-12-23 07:17:31 |
| 11131 | 2005-08-02 09:10:04.000 | 1860 1860 | 293 293 | 2005-08-08 09:59:04.000 | 2 2 | 2020-12-23 07:17:59 |
| 11576 | 2005-08-17 01:53:20.000 | 327 327 | 293 293 | 2005-08-19 00:15:20.000 | 1 1 | 2020-12-23 07:18:06 |
| 13013 | 2005-08-19 07:55:51.000 | 841 841 | 293 293 | 2005-08-26 05:14:51.000 | 1 1 | 2020-12-23 07:18:25 |
| 13029 | 2005-08-19 08:28:04.000 | 3283 3283 | 293 293 | 2005-08-22 12:25:04.000 | 2 2 | 2020-12-23 07:18:26 |
| 13504 | 2005-08-20 02:01:48.000 | 4322 4322 | 293 293 | 2005-08-25 21:52:48.000 | 2 2 | 2020-12-23 07:18:33 |
| 13817 | 2005-08-20 13:15:30.000 | 1935 1935 | 293 293 | 2005-08-22 18:48:30.000 | 2 2 | 2020-12-23 07:18:38 |
| 14248 | 2005-08-21 05:35:57.000 | 725 725 | 293 293 | 2005-08-28 05:53:57.000 | 2 2 | 2020-12-23 07:18:44 |
| 15258 | 2005-08-22 18:22:44.000 | 788 788 | 293 293 | 2005-08-25 16:54:44.000 | 1 1 | 2020-12-23 07:18:59 |
| 15402 | 2005-08-22 23:17:41.000 | 1575 1575 | 293 293 | 2005-08-30 20:07:41.000 | 2 2 | 2020-12-23 07:19:01 |
| 15508 | 2005-08-23 02:49:04.000 | 4035 4035 | 293 293 | 2005-08-29 00:58:04.000 | 1 1 | 2020-12-23 07:19:02 |
| 15675 | 2005-08-23 09:18:52.000 | 4153 4153 | 293 293 | 2005-08-30 14:59:52.000 | 2 2 | 2020-12-23 07:19:04 |
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) ;