payment
29 rows where customer_id = 54
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 |
|---|---|---|---|---|---|---|
| 1484 | 54 54 | 2 2 | 198 198 | 4.99 | 2005-05-26 07:03:49.000 | 2020-12-23 07:19:30 |
| 1485 | 54 54 | 2 2 | 441 441 | 4.99 | 2005-05-27 18:11:05.000 | 2020-12-23 07:19:30 |
| 1486 | 54 54 | 2 2 | 545 545 | 3.99 | 2005-05-28 07:10:20.000 | 2020-12-23 07:19:30 |
| 1487 | 54 54 | 1 1 | 1556 1556 | 4.99 | 2005-06-16 02:19:02.000 | 2020-12-23 07:19:30 |
| 1488 | 54 54 | 1 1 | 1571 1571 | 2.99 | 2005-06-16 03:22:00.000 | 2020-12-23 07:19:30 |
| 1489 | 54 54 | 2 2 | 2323 2323 | 6.99 | 2005-06-18 09:55:02.000 | 2020-12-23 07:19:30 |
| 1490 | 54 54 | 1 1 | 2647 2647 | 4.99 | 2005-06-19 09:57:56.000 | 2020-12-23 07:19:30 |
| 1491 | 54 54 | 2 2 | 4657 4657 | 4.99 | 2005-07-08 09:51:02.000 | 2020-12-23 07:19:30 |
| 1492 | 54 54 | 2 2 | 5055 5055 | 1.99 | 2005-07-09 04:05:28.000 | 2020-12-23 07:19:30 |
| 1493 | 54 54 | 1 1 | 5929 5929 | 2.99 | 2005-07-10 21:59:29.000 | 2020-12-23 07:19:30 |
| 1494 | 54 54 | 1 1 | 5992 5992 | 2.99 | 2005-07-11 01:06:21.000 | 2020-12-23 07:19:30 |
| 1495 | 54 54 | 1 1 | 6338 6338 | 7.99 | 2005-07-11 19:39:41.000 | 2020-12-23 07:19:30 |
| 1496 | 54 54 | 2 2 | 6560 6560 | 2.99 | 2005-07-12 05:22:06.000 | 2020-12-23 07:19:30 |
| 1497 | 54 54 | 1 1 | 6813 6813 | 0.99 | 2005-07-12 18:03:50.000 | 2020-12-23 07:19:30 |
| 1498 | 54 54 | 2 2 | 8992 8992 | 4.99 | 2005-07-30 04:44:18.000 | 2020-12-23 07:19:30 |
| 1499 | 54 54 | 2 2 | 10489 10489 | 5.99 | 2005-08-01 10:27:42.000 | 2020-12-23 07:19:30 |
| 1500 | 54 54 | 2 2 | 10882 10882 | 5.99 | 2005-08-02 00:47:16.000 | 2020-12-23 07:19:30 |
| 1501 | 54 54 | 1 1 | 10956 10956 | 4.99 | 2005-08-02 03:33:14.000 | 2020-12-23 07:19:30 |
| 1502 | 54 54 | 1 1 | 11182 11182 | 4.99 | 2005-08-02 10:55:14.000 | 2020-12-23 07:19:30 |
| 1503 | 54 54 | 2 2 | 11887 11887 | 2.99 | 2005-08-17 15:03:13.000 | 2020-12-23 07:19:30 |
| 1504 | 54 54 | 1 1 | 12526 12526 | 2.99 | 2005-08-18 13:48:43.000 | 2020-12-23 07:19:30 |
| 1505 | 54 54 | 2 2 | 12775 12775 | 5.99 | 2005-08-18 23:35:56.000 | 2020-12-23 07:19:30 |
| 1506 | 54 54 | 1 1 | 12811 12811 | 4.99 | 2005-08-19 00:51:28.000 | 2020-12-23 07:19:30 |
| 1507 | 54 54 | 2 2 | 12872 12872 | 0.99 | 2005-08-19 02:57:37.000 | 2020-12-23 07:19:30 |
| 1508 | 54 54 | 2 2 | 13315 13315 | 2.99 | 2005-08-19 19:16:18.000 | 2020-12-23 07:19:30 |
| 1509 | 54 54 | 1 1 | 13890 13890 | 0.99 | 2005-08-20 15:41:00.000 | 2020-12-23 07:19:30 |
| 1510 | 54 54 | 1 1 | 14215 14215 | 4.99 | 2005-08-21 04:34:11.000 | 2020-12-23 07:19:30 |
| 1511 | 54 54 | 1 1 | 15226 15226 | 10.99 | 2005-08-22 17:20:17.000 | 2020-12-23 07:19:31 |
| 1512 | 54 54 | 1 1 | 15567 15567 | 4.99 | 2005-08-23 05:20:36.000 | 2020-12-23 07:19:31 |
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) ;