payment
29 rows where customer_id = 52
This data as json, xlsx, CSV (advanced)
Suggested facets: staff_id, amount, last_update, payment_date (date), last_update (date)
| payment_id ▼ | customer_id | staff_id | rental_id | amount | payment_date | last_update |
|---|---|---|---|---|---|---|
| 1425 | 52 52 | 1 1 | 874 874 | 0.99 | 2005-05-30 05:36:21.000 | 2020-12-23 07:19:29 |
| 1426 | 52 52 | 1 1 | 1196 1196 | 4.99 | 2005-06-15 01:38:31.000 | 2020-12-23 07:19:29 |
| 1427 | 52 52 | 2 2 | 2232 2232 | 0.99 | 2005-06-18 03:54:31.000 | 2020-12-23 07:19:29 |
| 1428 | 52 52 | 1 1 | 2862 2862 | 2.99 | 2005-06-19 23:47:24.000 | 2020-12-23 07:19:29 |
| 1429 | 52 52 | 2 2 | 3196 3196 | 4.99 | 2005-06-21 00:02:28.000 | 2020-12-23 07:19:29 |
| 1430 | 52 52 | 1 1 | 3997 3997 | 1.99 | 2005-07-06 23:46:52.000 | 2020-12-23 07:19:29 |
| 1431 | 52 52 | 1 1 | 5308 5308 | 0.99 | 2005-07-09 15:58:38.000 | 2020-12-23 07:19:29 |
| 1432 | 52 52 | 2 2 | 5313 5313 | 3.99 | 2005-07-09 16:04:45.000 | 2020-12-23 07:19:29 |
| 1433 | 52 52 | 1 1 | 5607 5607 | 2.99 | 2005-07-10 05:08:10.000 | 2020-12-23 07:19:29 |
| 1434 | 52 52 | 1 1 | 6394 6394 | 7.99 | 2005-07-11 22:29:15.000 | 2020-12-23 07:19:29 |
| 1435 | 52 52 | 2 2 | 7284 7284 | 0.99 | 2005-07-27 12:12:04.000 | 2020-12-23 07:19:30 |
| 1436 | 52 52 | 2 2 | 7438 7438 | 5.99 | 2005-07-27 17:40:40.000 | 2020-12-23 07:19:30 |
| 1437 | 52 52 | 2 2 | 7627 7627 | 4.99 | 2005-07-28 00:56:47.000 | 2020-12-23 07:19:30 |
| 1438 | 52 52 | 1 1 | 8686 8686 | 4.99 | 2005-07-29 16:17:49.000 | 2020-12-23 07:19:30 |
| 1439 | 52 52 | 1 1 | 9029 9029 | 4.99 | 2005-07-30 06:03:11.000 | 2020-12-23 07:19:30 |
| 1440 | 52 52 | 2 2 | 9749 9749 | 3.99 | 2005-07-31 09:18:33.000 | 2020-12-23 07:19:30 |
| 1441 | 52 52 | 2 2 | 9797 9797 | 4.99 | 2005-07-31 10:53:44.000 | 2020-12-23 07:19:30 |
| 1442 | 52 52 | 2 2 | 10591 10591 | 0.99 | 2005-08-01 14:12:29.000 | 2020-12-23 07:19:30 |
| 1443 | 52 52 | 1 1 | 10635 10635 | 0.99 | 2005-08-01 15:37:58.000 | 2020-12-23 07:19:30 |
| 1444 | 52 52 | 1 1 | 11068 11068 | 0.99 | 2005-08-02 07:08:07.000 | 2020-12-23 07:19:30 |
| 1445 | 52 52 | 1 1 | 11731 11731 | 3.99 | 2005-08-17 08:24:35.000 | 2020-12-23 07:19:30 |
| 1446 | 52 52 | 2 2 | 12200 12200 | 2.99 | 2005-08-18 02:12:33.000 | 2020-12-23 07:19:30 |
| 1447 | 52 52 | 2 2 | 12520 12520 | 0.99 | 2005-08-18 13:42:45.000 | 2020-12-23 07:19:30 |
| 1448 | 52 52 | 2 2 | 13090 13090 | 5.99 | 2005-08-19 10:39:54.000 | 2020-12-23 07:19:30 |
| 1449 | 52 52 | 2 2 | 14820 14820 | 2.99 | 2005-08-22 01:18:37.000 | 2020-12-23 07:19:30 |
| 1450 | 52 52 | 1 1 | 14822 14822 | 5.99 | 2005-08-22 01:21:14.000 | 2020-12-23 07:19:30 |
| 1451 | 52 52 | 2 2 | 14961 14961 | 6.99 | 2005-08-22 06:35:50.000 | 2020-12-23 07:19:30 |
| 1452 | 52 52 | 2 2 | 15891 15891 | 5.99 | 2005-08-23 17:00:12.000 | 2020-12-23 07:19:30 |
| 1453 | 52 52 | 1 1 | 12001 12001 | 4.99 | 2006-02-14 15:16:03.000 | 2020-12-23 07:19:30 |
Advanced export
JSON shape: default, array, newline-delimited, object
CREATE TABLE payment ( payment_id int NOT NULL, customer_id INT NOT NULL, staff_id SMALLINT NOT NULL, rental_id INT DEFAULT NULL, amount DECIMAL(5,2) NOT NULL, payment_date TIMESTAMP NOT NULL, last_update TIMESTAMP NOT NULL, PRIMARY KEY (payment_id), CONSTRAINT fk_payment_rental FOREIGN KEY (rental_id) REFERENCES rental (rental_id) ON DELETE SET NULL ON UPDATE CASCADE, CONSTRAINT fk_payment_customer FOREIGN KEY (customer_id) REFERENCES customer (customer_id) , CONSTRAINT fk_payment_staff FOREIGN KEY (staff_id) REFERENCES staff (staff_id) ); CREATE INDEX idx_fk_staff_id ON payment(staff_id) ; CREATE INDEX idx_fk_customer_id ON payment(customer_id) ;