home / sakila

payment

33 rows where customer_id = 114

✎ View and edit SQL

This data as json, xlsx, CSV (advanced)

Suggested facets: staff_id, amount, payment_date (date), last_update (date)

payment_id ▼ customer_id staff_id rental_id amount payment_date last_update
3058 114 114 1 1 205 205 4.99 2005-05-26 07:59:37.000 2020-12-23 07:19:53
3059 114 114 1 1 255 255 4.99 2005-05-26 14:52:15.000 2020-12-23 07:19:53
3060 114 114 2 2 889 889 2.99 2005-05-30 07:14:53.000 2020-12-23 07:19:53
3061 114 114 1 1 2059 2059 2.99 2005-06-17 15:36:12.000 2020-12-23 07:19:53
3062 114 114 2 2 2680 2680 7.99 2005-06-19 12:13:37.000 2020-12-23 07:19:53
3063 114 114 1 1 3094 3094 2.99 2005-06-20 16:06:51.000 2020-12-23 07:19:53
3064 114 114 2 2 3144 3144 5.99 2005-06-20 20:14:20.000 2020-12-23 07:19:53
3065 114 114 1 1 3484 3484 4.99 2005-07-05 23:23:11.000 2020-12-23 07:19:53
3066 114 114 1 1 3924 3924 2.99 2005-07-06 20:38:02.000 2020-12-23 07:19:53
3067 114 114 1 1 4025 4025 0.99 2005-07-07 02:13:24.000 2020-12-23 07:19:53
3068 114 114 1 1 5418 5418 0.99 2005-07-09 20:41:35.000 2020-12-23 07:19:53
3069 114 114 2 2 5624 5624 4.99 2005-07-10 05:43:16.000 2020-12-23 07:19:53
3070 114 114 1 1 5625 5625 2.99 2005-07-10 05:44:02.000 2020-12-23 07:19:53
3071 114 114 1 1 6188 6188 2.99 2005-07-11 11:31:47.000 2020-12-23 07:19:53
3072 114 114 1 1 6754 6754 4.99 2005-07-12 14:59:24.000 2020-12-23 07:19:53
3073 114 114 2 2 7316 7316 2.99 2005-07-27 13:19:03.000 2020-12-23 07:19:53
3074 114 114 2 2 7462 7462 2.99 2005-07-27 18:47:47.000 2020-12-23 07:19:53
3075 114 114 2 2 7565 7565 2.99 2005-07-27 22:33:59.000 2020-12-23 07:19:53
3076 114 114 2 2 7938 7938 5.99 2005-07-28 12:39:11.000 2020-12-23 07:19:53
3077 114 114 2 2 8496 8496 4.99 2005-07-29 09:05:33.000 2020-12-23 07:19:53
3078 114 114 1 1 8590 8590 10.99 2005-07-29 12:32:20.000 2020-12-23 07:19:53
3079 114 114 1 1 9717 9717 4.99 2005-07-31 08:24:41.000 2020-12-23 07:19:53
3080 114 114 1 1 11547 11547 4.99 2005-08-17 00:59:24.000 2020-12-23 07:19:53
3081 114 114 2 2 12326 12326 0.99 2005-08-18 06:41:59.000 2020-12-23 07:19:53
3082 114 114 1 1 12685 12685 6.99 2005-08-18 19:51:29.000 2020-12-23 07:19:53
3083 114 114 2 2 13459 13459 6.99 2005-08-20 00:45:40.000 2020-12-23 07:19:53
3084 114 114 2 2 14158 14158 5.99 2005-08-21 02:43:20.000 2020-12-23 07:19:53
3085 114 114 1 1 14867 14867 4.99 2005-08-22 03:14:46.000 2020-12-23 07:19:53
3086 114 114 1 1 15485 15485 0.99 2005-08-23 02:04:57.000 2020-12-23 07:19:53
3087 114 114 1 1 15528 15528 2.99 2005-08-23 03:45:40.000 2020-12-23 07:19:53
3088 114 114 2 2 15646 15646 3.99 2005-08-23 08:19:55.000 2020-12-23 07:19:53
3089 114 114 1 1 16047 16047 0.99 2005-08-23 22:42:48.000 2020-12-23 07:19:53
3090 114 114 2 2 12506 12506 4.99 2006-02-14 15:16:03.000 2020-12-23 07:19:53

Advanced export

JSON shape: default, array, newline-delimited, object

CSV options:

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)
;
Powered by Datasette · Queries took 11.402ms