-- rewind begin page {"strategy":"slow","orderBy":[{"name":"order_id","direction":"ASC"},{"name":"coupon_id","direction":"ASC"}],"page":"first","limit":2500}
CREATE TABLE `wptq_wc_order_coupon_lookup` (
  `order_id` bigint(20) unsigned NOT NULL,
  `coupon_id` bigint(20) NOT NULL,
  `date_created` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
  `discount_amount` double NOT NULL DEFAULT 0,
  PRIMARY KEY (`order_id`,`coupon_id`),
  KEY `coupon_id` (`coupon_id`),
  KEY `date_created` (`date_created`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_520_ci;
INSERT INTO `wptq_wc_order_coupon_lookup` (`order_id`,`coupon_id`,`date_created`,`discount_amount`) VALUES('407','313','2023-01-03 19:47:30','2.1');
INSERT INTO `wptq_wc_order_coupon_lookup` (`order_id`,`coupon_id`,`date_created`,`discount_amount`) VALUES('659','313','2023-01-07 07:13:26','1.95');
INSERT INTO `wptq_wc_order_coupon_lookup` (`order_id`,`coupon_id`,`date_created`,`discount_amount`) VALUES('660','313','2023-01-07 17:42:43','2.1');
INSERT INTO `wptq_wc_order_coupon_lookup` (`order_id`,`coupon_id`,`date_created`,`discount_amount`) VALUES('676','313','2023-01-09 14:22:12','1.8');
INSERT INTO `wptq_wc_order_coupon_lookup` (`order_id`,`coupon_id`,`date_created`,`discount_amount`) VALUES('677','313','2023-01-09 19:09:25','2.1');
INSERT INTO `wptq_wc_order_coupon_lookup` (`order_id`,`coupon_id`,`date_created`,`discount_amount`) VALUES('1625','313','2023-01-19 00:43:24','2.1');
INSERT INTO `wptq_wc_order_coupon_lookup` (`order_id`,`coupon_id`,`date_created`,`discount_amount`) VALUES('1627','313','2023-01-20 07:06:40','4.8');
-- rewind end page {"strategy":"slow","orderBy":[{"name":"order_id","direction":"ASC"},{"name":"coupon_id","direction":"ASC"}],"page":"first","limit":2500}
-- rewind begin page {"strategy":"slow","orderBy":[{"name":"order_id","direction":"ASC"},{"name":"coupon_id","direction":"ASC"}],"page":"slow","limit":2500,"offset":7}
-- rewind end page {"strategy":"slow","orderBy":[{"name":"order_id","direction":"ASC"},{"name":"coupon_id","direction":"ASC"}],"page":"slow","limit":2500,"offset":7}
