payment
29 rows where customer_id = 32
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 |
|---|---|---|---|---|---|---|
| 878 | 32 32 | 2 2 | 483 483 | 4.99 | 2005-05-27 23:00:25.000 | 2020-12-23 07:19:22 |
| 879 | 32 32 | 2 2 | 803 803 | 4.99 | 2005-05-29 17:52:30.000 | 2020-12-23 07:19:22 |
| 880 | 32 32 | 2 2 | 1067 1067 | 4.99 | 2005-05-31 09:12:13.000 | 2020-12-23 07:19:22 |
| 881 | 32 32 | 2 2 | 1887 1887 | 6.99 | 2005-06-17 03:53:18.000 | 2020-12-23 07:19:22 |
| 882 | 32 32 | 2 2 | 2160 2160 | 0.99 | 2005-06-17 23:39:11.000 | 2020-12-23 07:19:22 |
| 883 | 32 32 | 2 2 | 2624 2624 | 5.99 | 2005-06-19 08:22:09.000 | 2020-12-23 07:19:22 |
| 884 | 32 32 | 2 2 | 2891 2891 | 1.99 | 2005-06-20 02:02:05.000 | 2020-12-23 07:19:22 |
| 885 | 32 32 | 1 1 | 3500 3500 | 2.99 | 2005-07-06 00:11:13.000 | 2020-12-23 07:19:22 |
| 886 | 32 32 | 1 1 | 4434 4434 | 2.99 | 2005-07-07 22:48:34.000 | 2020-12-23 07:19:22 |
| 887 | 32 32 | 2 2 | 4771 4771 | 2.99 | 2005-07-08 15:33:32.000 | 2020-12-23 07:19:22 |
| 888 | 32 32 | 2 2 | 4899 4899 | 0.99 | 2005-07-08 20:37:11.000 | 2020-12-23 07:19:22 |
| 889 | 32 32 | 1 1 | 5307 5307 | 9.99 | 2005-07-09 15:57:15.000 | 2020-12-23 07:19:22 |
| 890 | 32 32 | 1 1 | 5767 5767 | 0.99 | 2005-07-10 13:13:18.000 | 2020-12-23 07:19:22 |
| 891 | 32 32 | 1 1 | 5954 5954 | 2.99 | 2005-07-10 23:22:01.000 | 2020-12-23 07:19:22 |
| 892 | 32 32 | 1 1 | 6122 6122 | 3.99 | 2005-07-11 07:58:07.000 | 2020-12-23 07:19:22 |
| 893 | 32 32 | 2 2 | 6450 6450 | 2.99 | 2005-07-12 00:49:05.000 | 2020-12-23 07:19:22 |
| 894 | 32 32 | 1 1 | 7084 7084 | 6.99 | 2005-07-27 04:34:07.000 | 2020-12-23 07:19:22 |
| 895 | 32 32 | 1 1 | 7589 7589 | 5.99 | 2005-07-27 23:23:36.000 | 2020-12-23 07:19:22 |
| 896 | 32 32 | 1 1 | 7793 7793 | 2.99 | 2005-07-28 07:26:14.000 | 2020-12-23 07:19:22 |
| 897 | 32 32 | 2 2 | 8390 8390 | 5.99 | 2005-07-29 05:52:26.000 | 2020-12-23 07:19:22 |
| 898 | 32 32 | 2 2 | 8453 8453 | 2.99 | 2005-07-29 07:46:29.000 | 2020-12-23 07:19:22 |
| 899 | 32 32 | 2 2 | 8914 8914 | 2.99 | 2005-07-30 01:42:03.000 | 2020-12-23 07:19:22 |
| 900 | 32 32 | 1 1 | 11135 11135 | 4.99 | 2005-08-02 09:22:25.000 | 2020-12-23 07:19:22 |
| 901 | 32 32 | 2 2 | 11831 11831 | 4.99 | 2005-08-17 12:54:47.000 | 2020-12-23 07:19:22 |
| 902 | 32 32 | 2 2 | 12414 12414 | 9.99 | 2005-08-18 09:50:40.000 | 2020-12-23 07:19:22 |
| 903 | 32 32 | 1 1 | 13736 13736 | 8.99 | 2005-08-20 10:31:23.000 | 2020-12-23 07:19:22 |
| 904 | 32 32 | 1 1 | 13931 13931 | 1.99 | 2005-08-20 17:16:10.000 | 2020-12-23 07:19:22 |
| 905 | 32 32 | 1 1 | 14075 14075 | 0.99 | 2005-08-20 23:18:54.000 | 2020-12-23 07:19:23 |
| 906 | 32 32 | 2 2 | 14570 14570 | 5.99 | 2005-08-21 16:32:32.000 | 2020-12-23 07:19:23 |
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) ;