payment
29 rows where customer_id = 16
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 |
|---|---|---|---|---|---|---|
| 418 | 16 16 | 1 1 | 335 335 | 3.99 | 2005-05-27 03:07:10.000 | 2020-12-23 07:19:15 |
| 419 | 16 16 | 1 1 | 593 593 | 2.99 | 2005-05-28 13:33:23.000 | 2020-12-23 07:19:15 |
| 420 | 16 16 | 2 2 | 887 887 | 0.99 | 2005-05-30 07:10:00.000 | 2020-12-23 07:19:15 |
| 421 | 16 16 | 1 1 | 1017 1017 | 2.99 | 2005-05-31 02:53:36.000 | 2020-12-23 07:19:15 |
| 422 | 16 16 | 2 2 | 1934 1934 | 6.99 | 2005-06-17 07:04:57.000 | 2020-12-23 07:19:15 |
| 423 | 16 16 | 1 1 | 1944 1944 | 7.99 | 2005-06-17 07:50:53.000 | 2020-12-23 07:19:15 |
| 424 | 16 16 | 1 1 | 1.99 | 2005-06-18 04:56:12.000 | 2020-12-23 07:19:15 | |
| 425 | 16 16 | 1 1 | 2960 2960 | 7.99 | 2005-06-20 07:10:09.000 | 2020-12-23 07:19:15 |
| 426 | 16 16 | 2 2 | 3348 3348 | 0.99 | 2005-06-21 11:16:42.000 | 2020-12-23 07:19:16 |
| 427 | 16 16 | 1 1 | 3548 3548 | 0.99 | 2005-07-06 02:23:39.000 | 2020-12-23 07:19:16 |
| 428 | 16 16 | 2 2 | 4219 4219 | 2.99 | 2005-07-07 12:11:22.000 | 2020-12-23 07:19:16 |
| 429 | 16 16 | 2 2 | 4263 4263 | 3.99 | 2005-07-07 14:24:44.000 | 2020-12-23 07:19:16 |
| 430 | 16 16 | 2 2 | 4517 4517 | 4.99 | 2005-07-08 02:45:19.000 | 2020-12-23 07:19:16 |
| 431 | 16 16 | 1 1 | 6100 6100 | 4.99 | 2005-07-11 06:40:31.000 | 2020-12-23 07:19:16 |
| 432 | 16 16 | 2 2 | 7489 7489 | 0.99 | 2005-07-27 19:39:38.000 | 2020-12-23 07:19:16 |
| 433 | 16 16 | 2 2 | 7552 7552 | 2.99 | 2005-07-27 22:03:41.000 | 2020-12-23 07:19:16 |
| 434 | 16 16 | 2 2 | 8452 8452 | 5.99 | 2005-07-29 07:45:00.000 | 2020-12-23 07:19:16 |
| 435 | 16 16 | 2 2 | 9158 9158 | 0.99 | 2005-07-30 11:12:03.000 | 2020-12-23 07:19:16 |
| 436 | 16 16 | 2 2 | 9610 9610 | 5.99 | 2005-07-31 03:54:05.000 | 2020-12-23 07:19:16 |
| 437 | 16 16 | 2 2 | 10687 10687 | 2.99 | 2005-08-01 17:53:02.000 | 2020-12-23 07:19:16 |
| 438 | 16 16 | 2 2 | 10727 10727 | 2.99 | 2005-08-01 19:15:08.000 | 2020-12-23 07:19:16 |
| 439 | 16 16 | 2 2 | 11308 11308 | 0.99 | 2005-08-02 15:50:44.000 | 2020-12-23 07:19:16 |
| 440 | 16 16 | 2 2 | 12104 12104 | 2.99 | 2005-08-17 22:53:00.000 | 2020-12-23 07:19:16 |
| 441 | 16 16 | 1 1 | 12358 12358 | 4.99 | 2005-08-18 07:41:43.000 | 2020-12-23 07:19:16 |
| 442 | 16 16 | 1 1 | 12577 12577 | 7.99 | 2005-08-18 15:39:46.000 | 2020-12-23 07:19:16 |
| 443 | 16 16 | 2 2 | 13151 13151 | 4.99 | 2005-08-19 13:08:23.000 | 2020-12-23 07:19:16 |
| 444 | 16 16 | 1 1 | 13391 13391 | 4.99 | 2005-08-19 22:01:42.000 | 2020-12-23 07:19:16 |
| 445 | 16 16 | 1 1 | 13480 13480 | 6.99 | 2005-08-20 01:10:27.000 | 2020-12-23 07:19:16 |
| 446 | 16 16 | 1 1 | 14511 14511 | 8.99 | 2005-08-21 14:45:34.000 | 2020-12-23 07:19:16 |
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) ;