payment
29 rows where customer_id = 287
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 |
|---|---|---|---|---|---|---|
| 7761 | 287 287 | 2 2 | 498 498 | 0.99 | 2005-05-28 01:01:21.000 | 2020-12-23 07:20:59 |
| 7762 | 287 287 | 1 1 | 655 655 | 2.99 | 2005-05-28 20:16:20.000 | 2020-12-23 07:20:59 |
| 7763 | 287 287 | 2 2 | 964 964 | 2.99 | 2005-05-30 18:53:21.000 | 2020-12-23 07:20:59 |
| 7764 | 287 287 | 1 1 | 1247 1247 | 7.99 | 2005-06-15 05:16:40.000 | 2020-12-23 07:20:59 |
| 7765 | 287 287 | 2 2 | 1642 1642 | 2.99 | 2005-06-16 08:54:15.000 | 2020-12-23 07:20:59 |
| 7766 | 287 287 | 2 2 | 2286 2286 | 9.99 | 2005-06-18 07:02:32.000 | 2020-12-23 07:20:59 |
| 7767 | 287 287 | 2 2 | 2612 2612 | 6.99 | 2005-06-19 07:19:41.000 | 2020-12-23 07:20:59 |
| 7768 | 287 287 | 2 2 | 4877 4877 | 4.99 | 2005-07-08 19:31:02.000 | 2020-12-23 07:20:59 |
| 7769 | 287 287 | 2 2 | 5346 5346 | 1.99 | 2005-07-09 17:29:01.000 | 2020-12-23 07:20:59 |
| 7770 | 287 287 | 1 1 | 5593 5593 | 3.99 | 2005-07-10 04:33:13.000 | 2020-12-23 07:20:59 |
| 7771 | 287 287 | 2 2 | 5761 5761 | 0.99 | 2005-07-10 12:45:36.000 | 2020-12-23 07:20:59 |
| 7772 | 287 287 | 2 2 | 6379 6379 | 3.99 | 2005-07-11 21:51:25.000 | 2020-12-23 07:20:59 |
| 7773 | 287 287 | 1 1 | 6397 6397 | 2.99 | 2005-07-11 22:34:02.000 | 2020-12-23 07:20:59 |
| 7774 | 287 287 | 2 2 | 7402 7402 | 2.99 | 2005-07-27 16:19:40.000 | 2020-12-23 07:20:59 |
| 7775 | 287 287 | 2 2 | 7777 7777 | 2.99 | 2005-07-28 07:04:42.000 | 2020-12-23 07:20:59 |
| 7776 | 287 287 | 2 2 | 8994 8994 | 6.99 | 2005-07-30 04:51:32.000 | 2020-12-23 07:20:59 |
| 7777 | 287 287 | 2 2 | 9716 9716 | 1.99 | 2005-07-31 08:23:53.000 | 2020-12-23 07:20:59 |
| 7778 | 287 287 | 1 1 | 10027 10027 | 6.99 | 2005-07-31 18:33:51.000 | 2020-12-23 07:20:59 |
| 7779 | 287 287 | 2 2 | 10574 10574 | 2.99 | 2005-08-01 13:36:51.000 | 2020-12-23 07:20:59 |
| 7780 | 287 287 | 2 2 | 10807 10807 | 4.99 | 2005-08-01 22:26:10.000 | 2020-12-23 07:20:59 |
| 7781 | 287 287 | 2 2 | 11106 11106 | 4.99 | 2005-08-02 08:17:38.000 | 2020-12-23 07:20:59 |
| 7782 | 287 287 | 1 1 | 11716 11716 | 4.99 | 2005-08-17 07:40:55.000 | 2020-12-23 07:20:59 |
| 7783 | 287 287 | 2 2 | 12861 12861 | 2.99 | 2005-08-19 02:30:24.000 | 2020-12-23 07:20:59 |
| 7784 | 287 287 | 2 2 | 14715 14715 | 6.99 | 2005-08-21 21:28:18.000 | 2020-12-23 07:20:59 |
| 7785 | 287 287 | 2 2 | 15076 15076 | 1.99 | 2005-08-22 11:05:34.000 | 2020-12-23 07:20:59 |
| 7786 | 287 287 | 1 1 | 15084 15084 | 4.99 | 2005-08-22 11:17:59.000 | 2020-12-23 07:20:59 |
| 7787 | 287 287 | 2 2 | 15127 15127 | 0.99 | 2005-08-22 12:56:29.000 | 2020-12-23 07:21:00 |
| 7788 | 287 287 | 1 1 | 15614 15614 | 2.99 | 2005-08-23 07:05:15.000 | 2020-12-23 07:21:00 |
| 7789 | 287 287 | 2 2 | 14204 14204 | 0.99 | 2006-02-14 15:16:03.000 | 2020-12-23 07:21:00 |
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) ;