payment
29 rows where customer_id = 146
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 |
|---|---|---|---|---|---|---|
| 3949 | 146 146 | 2 2 | 762 762 | 7.99 | 2005-05-29 11:15:51.000 | 2020-12-23 07:20:05 |
| 3950 | 146 146 | 1 1 | 1073 1073 | 4.99 | 2005-05-31 09:55:04.000 | 2020-12-23 07:20:06 |
| 3951 | 146 146 | 2 2 | 1209 1209 | 7.99 | 2005-06-15 02:31:12.000 | 2020-12-23 07:20:06 |
| 3952 | 146 146 | 2 2 | 1724 1724 | 1.99 | 2005-06-16 15:15:43.000 | 2020-12-23 07:20:06 |
| 3953 | 146 146 | 2 2 | 2099 2099 | 2.99 | 2005-06-17 18:47:26.000 | 2020-12-23 07:20:06 |
| 3954 | 146 146 | 1 1 | 2242 2242 | 3.99 | 2005-06-18 04:32:28.000 | 2020-12-23 07:20:06 |
| 3955 | 146 146 | 1 1 | 2342 2342 | 2.99 | 2005-06-18 11:42:40.000 | 2020-12-23 07:20:06 |
| 3956 | 146 146 | 1 1 | 2800 2800 | 0.99 | 2005-06-19 19:15:56.000 | 2020-12-23 07:20:06 |
| 3957 | 146 146 | 1 1 | 3131 3131 | 4.99 | 2005-06-20 19:08:00.000 | 2020-12-23 07:20:06 |
| 3958 | 146 146 | 1 1 | 4849 4849 | 6.99 | 2005-07-08 18:34:34.000 | 2020-12-23 07:20:06 |
| 3959 | 146 146 | 2 2 | 5000 5000 | 4.99 | 2005-07-09 01:16:13.000 | 2020-12-23 07:20:06 |
| 3960 | 146 146 | 1 1 | 6102 6102 | 7.99 | 2005-07-11 06:53:09.000 | 2020-12-23 07:20:06 |
| 3961 | 146 146 | 2 2 | 6184 6184 | 6.99 | 2005-07-11 11:19:21.000 | 2020-12-23 07:20:06 |
| 3962 | 146 146 | 1 1 | 6327 6327 | 4.99 | 2005-07-11 19:07:29.000 | 2020-12-23 07:20:06 |
| 3963 | 146 146 | 1 1 | 6990 6990 | 0.99 | 2005-07-27 01:02:46.000 | 2020-12-23 07:20:06 |
| 3964 | 146 146 | 2 2 | 8246 8246 | 3.99 | 2005-07-29 00:38:41.000 | 2020-12-23 07:20:06 |
| 3965 | 146 146 | 2 2 | 11173 11173 | 7.99 | 2005-08-02 10:28:00.000 | 2020-12-23 07:20:06 |
| 3966 | 146 146 | 1 1 | 11221 11221 | 2.99 | 2005-08-02 12:32:12.000 | 2020-12-23 07:20:06 |
| 3967 | 146 146 | 2 2 | 11370 11370 | 0.99 | 2005-08-02 18:06:01.000 | 2020-12-23 07:20:06 |
| 3968 | 146 146 | 2 2 | 11392 11392 | 5.99 | 2005-08-02 18:41:11.000 | 2020-12-23 07:20:06 |
| 3969 | 146 146 | 1 1 | 11573 11573 | 4.99 | 2005-08-17 01:38:18.000 | 2020-12-23 07:20:06 |
| 3970 | 146 146 | 1 1 | 11857 11857 | 4.99 | 2005-08-17 13:48:30.000 | 2020-12-23 07:20:06 |
| 3971 | 146 146 | 1 1 | 12129 12129 | 7.99 | 2005-08-17 23:31:25.000 | 2020-12-23 07:20:06 |
| 3972 | 146 146 | 1 1 | 12385 12385 | 2.99 | 2005-08-18 08:39:33.000 | 2020-12-23 07:20:06 |
| 3973 | 146 146 | 1 1 | 12888 12888 | 4.99 | 2005-08-19 03:41:09.000 | 2020-12-23 07:20:06 |
| 3974 | 146 146 | 1 1 | 13606 13606 | 4.99 | 2005-08-20 06:07:01.000 | 2020-12-23 07:20:06 |
| 3975 | 146 146 | 2 2 | 13829 13829 | 4.99 | 2005-08-20 13:50:17.000 | 2020-12-23 07:20:06 |
| 3976 | 146 146 | 2 2 | 14143 14143 | 2.99 | 2005-08-21 02:10:32.000 | 2020-12-23 07:20:06 |
| 3977 | 146 146 | 1 1 | 15842 15842 | 6.99 | 2005-08-23 15:36:05.000 | 2020-12-23 07:20:06 |
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) ;