payment
29 rows where customer_id = 386
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 |
|---|---|---|---|---|---|---|
| 10444 | 386 386 | 1 1 | 583 583 | 7.99 | 2005-05-28 11:48:55.000 | 2020-12-23 07:21:38 |
| 10445 | 386 386 | 2 2 | 1585 1585 | 3.99 | 2005-06-16 04:51:13.000 | 2020-12-23 07:21:38 |
| 10446 | 386 386 | 1 1 | 1608 1608 | 2.99 | 2005-06-16 06:28:57.000 | 2020-12-23 07:21:38 |
| 10447 | 386 386 | 2 2 | 1819 1819 | 5.99 | 2005-06-16 21:32:50.000 | 2020-12-23 07:21:39 |
| 10448 | 386 386 | 1 1 | 2732 2732 | 0.99 | 2005-06-19 15:19:39.000 | 2020-12-23 07:21:39 |
| 10449 | 386 386 | 1 1 | 3351 3351 | 2.99 | 2005-06-21 11:21:39.000 | 2020-12-23 07:21:39 |
| 10450 | 386 386 | 2 2 | 3783 3783 | 6.99 | 2005-07-06 13:57:31.000 | 2020-12-23 07:21:39 |
| 10451 | 386 386 | 1 1 | 4189 4189 | 8.99 | 2005-07-07 10:51:07.000 | 2020-12-23 07:21:39 |
| 10452 | 386 386 | 1 1 | 5524 5524 | 0.99 | 2005-07-10 01:49:24.000 | 2020-12-23 07:21:39 |
| 10453 | 386 386 | 1 1 | 5953 5953 | 2.99 | 2005-07-10 23:21:35.000 | 2020-12-23 07:21:39 |
| 10454 | 386 386 | 1 1 | 6037 6037 | 4.99 | 2005-07-11 03:06:54.000 | 2020-12-23 07:21:39 |
| 10455 | 386 386 | 1 1 | 6222 6222 | 2.99 | 2005-07-11 13:25:49.000 | 2020-12-23 07:21:39 |
| 10456 | 386 386 | 2 2 | 6261 6261 | 2.99 | 2005-07-11 15:28:34.000 | 2020-12-23 07:21:39 |
| 10457 | 386 386 | 1 1 | 6324 6324 | 3.99 | 2005-07-11 19:02:34.000 | 2020-12-23 07:21:39 |
| 10458 | 386 386 | 2 2 | 6715 6715 | 4.99 | 2005-07-12 13:32:28.000 | 2020-12-23 07:21:39 |
| 10459 | 386 386 | 2 2 | 8340 8340 | 4.99 | 2005-07-29 04:41:44.000 | 2020-12-23 07:21:39 |
| 10460 | 386 386 | 1 1 | 8751 8751 | 2.99 | 2005-07-29 19:14:39.000 | 2020-12-23 07:21:39 |
| 10461 | 386 386 | 2 2 | 9602 9602 | 0.99 | 2005-07-31 03:42:51.000 | 2020-12-23 07:21:39 |
| 10462 | 386 386 | 1 1 | 9686 9686 | 5.99 | 2005-07-31 06:50:06.000 | 2020-12-23 07:21:39 |
| 10463 | 386 386 | 1 1 | 10572 10572 | 4.99 | 2005-08-01 13:26:53.000 | 2020-12-23 07:21:39 |
| 10464 | 386 386 | 2 2 | 10618 10618 | 3.99 | 2005-08-01 15:06:38.000 | 2020-12-23 07:21:39 |
| 10465 | 386 386 | 1 1 | 10715 10715 | 2.99 | 2005-08-01 18:51:48.000 | 2020-12-23 07:21:39 |
| 10466 | 386 386 | 2 2 | 11128 11128 | 2.99 | 2005-08-02 09:03:25.000 | 2020-12-23 07:21:39 |
| 10467 | 386 386 | 2 2 | 11695 11695 | 4.99 | 2005-08-17 07:01:08.000 | 2020-12-23 07:21:39 |
| 10468 | 386 386 | 2 2 | 12961 12961 | 2.99 | 2005-08-19 06:22:37.000 | 2020-12-23 07:21:39 |
| 10469 | 386 386 | 1 1 | 13716 13716 | 3.99 | 2005-08-20 09:48:32.000 | 2020-12-23 07:21:39 |
| 10470 | 386 386 | 1 1 | 13764 13764 | 2.99 | 2005-08-20 11:38:16.000 | 2020-12-23 07:21:39 |
| 10471 | 386 386 | 2 2 | 13869 13869 | 6.99 | 2005-08-20 15:08:57.000 | 2020-12-23 07:21:39 |
| 10472 | 386 386 | 1 1 | 15949 15949 | 0.99 | 2005-08-23 19:06:04.000 | 2020-12-23 07:21:39 |
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) ;