@@ -2224,6 +2224,7 @@ SELECT * FROM t3 WHERE c1 IN (69,'2020') ORDER BY c1,c2;
2224
2224
c1 c2 c3 c4
2225
2225
2020 2020 1998-12-16 1998-12-16 11:30:45
2226
2226
2020 2040 1998-12-10 1998-12-10 11:30:45
2227
+ 2069 2069 1998-12-13 1998-12-13 11:30:45
2227
2228
SELECT * FROM t3 WHERE c1 IN (69,'2020') ORDER BY c1,c2 LIMIT 2;
2228
2229
c1 c2 c3 c4
2229
2230
2020 2020 1998-12-16 1998-12-16 11:30:45
@@ -2369,6 +2370,7 @@ SELECT * FROM t3 WHERE c1 IN (69,'2020') ORDER BY c1,c2 DESC;
2369
2370
c1 c2 c3 c4
2370
2371
2020 2040 1998-12-10 1998-12-10 11:30:45
2371
2372
2020 2020 1998-12-16 1998-12-16 11:30:45
2373
+ 2069 2069 1998-12-13 1998-12-13 11:30:45
2372
2374
SELECT * FROM t3 WHERE c1 IN (69,'2020') ORDER BY c1,c2 DESC LIMIT 2;
2373
2375
c1 c2 c3 c4
2374
2376
2020 2040 1998-12-10 1998-12-10 11:30:45
@@ -4292,8 +4294,12 @@ SELECT * FROM t2 WHERE c2 BETWEEN '1970' AND 2155 ORDER BY c1,c2 LIMIT 2;
4292
4294
c1 c2 c3 c4
4293
4295
SELECT * FROM t2 WHERE c2 IN ('1970',2155) ORDER BY c1,c2;
4294
4296
c1 c2 c3 c4
4297
+ 70 70 1998-12-12 1998-12-12 11:30:45
4298
+ 55 55 1998-12-26 1998-12-26 11:30:45
4295
4299
SELECT * FROM t2 WHERE c2 IN ('1970',2155) ORDER BY c1,c2 LIMIT 2;
4296
4300
c1 c2 c3 c4
4301
+ 70 70 1998-12-12 1998-12-12 11:30:45
4302
+ 55 55 1998-12-26 1998-12-26 11:30:45
4297
4303
SELECT * FROM t2 WHERE c2 >= '1970' AND c2 < 2155 AND c1 = '1999' ORDER BY c1,c2;
4298
4304
c1 c2 c3 c4
4299
4305
SELECT * FROM t2 WHERE c2 >= '1970' AND c2 < 2155 AND c1 = '1999' ORDER BY c1,c2 LIMIT 2;
@@ -4429,8 +4435,12 @@ SELECT * FROM t2 WHERE c2 BETWEEN '1970' AND 2155 ORDER BY c1,c2 DESC LIMIT 2;
4429
4435
c1 c2 c3 c4
4430
4436
SELECT * FROM t2 WHERE c2 IN ('1970',2155) ORDER BY c1,c2 DESC;
4431
4437
c1 c2 c3 c4
4438
+ 70 70 1998-12-12 1998-12-12 11:30:45
4439
+ 55 55 1998-12-26 1998-12-26 11:30:45
4432
4440
SELECT * FROM t2 WHERE c2 IN ('1970',2155) ORDER BY c1,c2 DESC LIMIT 2;
4433
4441
c1 c2 c3 c4
4442
+ 70 70 1998-12-12 1998-12-12 11:30:45
4443
+ 55 55 1998-12-26 1998-12-26 11:30:45
4434
4444
SELECT * FROM t2 WHERE c2 >= '1970' AND c2 < 2155 AND c1 = '1999' ORDER BY c1,c2 DESC;
4435
4445
c1 c2 c3 c4
4436
4446
SELECT * FROM t2 WHERE c2 >= '1970' AND c2 < 2155 AND c1 = '1999' ORDER BY c1,c2 DESC LIMIT 2;
@@ -5212,10 +5222,13 @@ SELECT * FROM t3 WHERE c1 BETWEEN 69 AND '2020' ORDER BY c1,c2 LIMIT 2;
5212
5222
c1 c2 c3 c4
5213
5223
SELECT * FROM t3 WHERE c1 IN (69,'2020') ORDER BY c1,c2;
5214
5224
c1 c2 c3 c4
5225
+ 20 20 1998-12-16 1998-12-16 11:30:45
5226
+ 20 40 1998-12-10 1998-12-10 11:30:45
5215
5227
69 69 1998-12-13 1998-12-13 11:30:45
5216
5228
SELECT * FROM t3 WHERE c1 IN (69,'2020') ORDER BY c1,c2 LIMIT 2;
5217
5229
c1 c2 c3 c4
5218
- 69 69 1998-12-13 1998-12-13 11:30:45
5230
+ 20 20 1998-12-16 1998-12-16 11:30:45
5231
+ 20 40 1998-12-10 1998-12-10 11:30:45
5219
5232
SELECT * FROM t3 WHERE c1 >= 69 AND c1 < '2020' AND c2 = '2009' ORDER BY c1,c2;
5220
5233
c1 c2 c3 c4
5221
5234
SELECT * FROM t3 WHERE c1 >= 69 AND c1 < '2020' AND c2 = '2009' ORDER BY c1,c2 LIMIT 2;
@@ -5344,10 +5357,13 @@ SELECT * FROM t3 WHERE c1 BETWEEN 69 AND '2020' ORDER BY c1,c2 DESC LIMIT 2;
5344
5357
c1 c2 c3 c4
5345
5358
SELECT * FROM t3 WHERE c1 IN (69,'2020') ORDER BY c1,c2 DESC;
5346
5359
c1 c2 c3 c4
5360
+ 20 40 1998-12-10 1998-12-10 11:30:45
5361
+ 20 20 1998-12-16 1998-12-16 11:30:45
5347
5362
69 69 1998-12-13 1998-12-13 11:30:45
5348
5363
SELECT * FROM t3 WHERE c1 IN (69,'2020') ORDER BY c1,c2 DESC LIMIT 2;
5349
5364
c1 c2 c3 c4
5350
- 69 69 1998-12-13 1998-12-13 11:30:45
5365
+ 20 40 1998-12-10 1998-12-10 11:30:45
5366
+ 20 20 1998-12-16 1998-12-16 11:30:45
5351
5367
SELECT * FROM t3 WHERE c1 >= 69 AND c1 < '2020' AND c2 = '2009' ORDER BY c1,c2 DESC;
5352
5368
c1 c2 c3 c4
5353
5369
SELECT * FROM t3 WHERE c1 >= 69 AND c1 < '2020' AND c2 = '2009' ORDER BY c1,c2 DESC LIMIT 2;
@@ -5595,8 +5611,14 @@ c1 c2 c3 c4
5595
5611
01 01 1998-12-31 1998-12-31 11:30:45
5596
5612
SELECT * FROM t3 WHERE c2 IN ('2000',2155) ORDER BY c1,c2;
5597
5613
c1 c2 c3 c4
5614
+ 00 00 2008-01-08 2008-01-09 00:00:00
5615
+ 00 00 1998-12-29 1998-12-29 11:30:45
5616
+ 00 00 1998-12-26 1998-12-26 11:30:45
5617
+ 55 55 1998-12-26 1998-12-26 11:30:45
5598
5618
SELECT * FROM t3 WHERE c2 IN ('2000',2155) ORDER BY c1,c2 LIMIT 2;
5599
5619
c1 c2 c3 c4
5620
+ 00 00 2008-01-08 2008-01-09 00:00:00
5621
+ 00 00 1998-12-29 1998-12-29 11:30:45
5600
5622
SELECT * FROM t3 WHERE c2 >= '2000' AND c2 < 2155 AND c1 = '1999' ORDER BY c1,c2;
5601
5623
c1 c2 c3 c4
5602
5624
SELECT * FROM t3 WHERE c2 >= '2000' AND c2 < 2155 AND c1 = '1999' ORDER BY c1,c2 LIMIT 2;
@@ -5745,8 +5767,14 @@ c1 c2 c3 c4
5745
5767
01 01 1998-12-31 1998-12-31 11:30:45
5746
5768
SELECT * FROM t3 WHERE c2 IN ('2000',2155) ORDER BY c1,c2 DESC;
5747
5769
c1 c2 c3 c4
5770
+ 00 00 2008-01-08 2008-01-09 00:00:00
5771
+ 00 00 1998-12-29 1998-12-29 11:30:45
5772
+ 00 00 1998-12-26 1998-12-26 11:30:45
5773
+ 55 55 1998-12-26 1998-12-26 11:30:45
5748
5774
SELECT * FROM t3 WHERE c2 IN ('2000',2155) ORDER BY c1,c2 DESC LIMIT 2;
5749
5775
c1 c2 c3 c4
5776
+ 00 00 2008-01-08 2008-01-09 00:00:00
5777
+ 00 00 1998-12-29 1998-12-29 11:30:45
5750
5778
SELECT * FROM t3 WHERE c2 >= '2000' AND c2 < 2155 AND c1 = '1999' ORDER BY c1,c2 DESC;
5751
5779
c1 c2 c3 c4
5752
5780
SELECT * FROM t3 WHERE c2 >= '2000' AND c2 < 2155 AND c1 = '1999' ORDER BY c1,c2 DESC LIMIT 2;
0 commit comments