home / sakila

payment

30 rows where customer_id = 269

✎ View and edit SQL

This data as json, xlsx, CSV (advanced)

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

payment_id ▼ customer_id staff_id rental_id amount payment_date last_update
7274 269 269 2 2 7 7 1.99 2005-05-24 23:11:53.000 2020-12-23 07:20:52
7275 269 269 1 1 98 98 0.99 2005-05-25 16:48:24.000 2020-12-23 07:20:52
7276 269 269 2 2 678 678 6.99 2005-05-28 23:15:48.000 2020-12-23 07:20:52
7277 269 269 2 2 703 703 0.99 2005-05-29 02:29:36.000 2020-12-23 07:20:52
7278 269 269 1 1 750 750 4.99 2005-05-29 09:41:40.000 2020-12-23 07:20:52
7279 269 269 2 2 1099 1099 2.99 2005-05-31 13:54:48.000 2020-12-23 07:20:52
7280 269 269 1 1 1334 1334 3.99 2005-06-15 11:43:09.000 2020-12-23 07:20:52
7281 269 269 2 2 1909 1909 2.99 2005-06-17 05:11:04.000 2020-12-23 07:20:52
7282 269 269 2 2 2493 2493 6.99 2005-06-18 22:12:09.000 2020-12-23 07:20:52
7283 269 269 1 1 4125 4125 9.99 2005-07-07 07:20:29.000 2020-12-23 07:20:52
7284 269 269 2 2 4804 4804 0.99 2005-07-08 16:57:30.000 2020-12-23 07:20:52
7285 269 269 2 2 4880 4880 6.99 2005-07-08 19:36:17.000 2020-12-23 07:20:52
7286 269 269 1 1 6440 6440 2.99 2005-07-12 00:25:04.000 2020-12-23 07:20:52
7287 269 269 1 1 6626 6626 5.99 2005-07-12 09:16:24.000 2020-12-23 07:20:52
7288 269 269 2 2 6804 6804 4.99 2005-07-12 17:22:06.000 2020-12-23 07:20:52
7289 269 269 1 1 7032 7032 4.99 2005-07-27 03:03:09.000 2020-12-23 07:20:52
7290 269 269 1 1 7537 7537 6.99 2005-07-27 21:36:09.000 2020-12-23 07:20:52
7291 269 269 1 1 7972 7972 2.99 2005-07-28 14:07:46.000 2020-12-23 07:20:52
7292 269 269 2 2 10566 10566 2.99 2005-08-01 13:12:11.000 2020-12-23 07:20:52
7293 269 269 1 1 10908 10908 4.99 2005-08-02 01:53:06.000 2020-12-23 07:20:52
7294 269 269 1 1 11014 11014 4.99 2005-08-02 05:12:22.000 2020-12-23 07:20:52
7295 269 269 1 1 11915 11915 3.99 2005-08-17 16:05:28.000 2020-12-23 07:20:52
7296 269 269 1 1 12344 12344 4.99 2005-08-18 07:15:19.000 2020-12-23 07:20:52
7297 269 269 2 2 13142 13142 5.99 2005-08-19 12:42:28.000 2020-12-23 07:20:52
7298 269 269 2 2 13759 13759 2.99 2005-08-20 11:24:48.000 2020-12-23 07:20:52
7299 269 269 1 1 14266 14266 4.99 2005-08-21 06:20:51.000 2020-12-23 07:20:52
7300 269 269 2 2 14693 14693 6.99 2005-08-21 20:44:19.000 2020-12-23 07:20:52
7301 269 269 2 2 15788 15788 2.99 2005-08-23 13:54:39.000 2020-12-23 07:20:53
7302 269 269 1 1 13025 13025 3.98 2006-02-14 15:16:03.000 2020-12-23 07:20:53
7303 269 269 2 2 12610 12610 0 2006-02-14 15:16:03.000 2020-12-23 07:20: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.42ms