7
2.27 ms
SELECT p . post_id , p . user_id , p . content_id , p . public_key , p . search_field , p . cover , p . type , p . sexual_orientation , p . orientation , p . quality , p . noindex , p . nofollow , p . contents_num , p . duration , p . likes , p . dislikes , p . views , p . vote_rating , p . params , p . published_at , IFNULL (`r` . `title` , `f` . `title` ) as `title` , IFNULL (`r` . `custom1` , `f` . `custom1` ) as `custom1` , IFNULL (`r` . `custom2` , `f` . `custom2` ) as `custom2` FROM post p LEFT JOIN post_translation f ON `p` . `post_id` = `f` . `post_id` AND `f` . `lang_id` = ? LEFT JOIN post_translation r ON `p` . `post_id` = `r` . `post_id` AND `r` . `lang_id` = ? WHERE p . post_id IN (NULL )
SELECT p . post_id , p . user_id , p . content_id , p . public_key , p . search_field , p . cover , p . type , p . sexual_orientation , p . orientation , p . quality , p . noindex , p . nofollow , p . contents_num , p . duration , p . likes , p . dislikes , p . views , p . vote_rating , p . params , p . published_at , IFNULL (`r` . `title` , `f` . `title` ) as `title` , IFNULL (`r` . `custom1` , `f` . `custom1` ) as `custom1` , IFNULL (`r` . `custom2` , `f` . `custom2` ) as `custom2` FROM post p LEFT JOIN post_translation f ON `p` . `post_id` = `f` . `post_id` AND `f` . `lang_id` = 1 LEFT JOIN post_translation r ON `p` . `post_id` = `r` . `post_id` AND `r` . `lang_id` = 2 WHERE p . post_id IN (NULL );
Copy
10
15.04 ms
SELECT p . post_id , p . user_id , p . content_id , p . public_key , p . search_field , p . cover , p . type , p . sexual_orientation , p . orientation , p . quality , p . noindex , p . nofollow , p . contents_num , p . duration , p . likes , p . dislikes , p . views , p . vote_rating , p . params , p . published_at , IFNULL (`r` . `title` , `f` . `title` ) as `title` , IFNULL (`r` . `custom1` , `f` . `custom1` ) as `custom1` , IFNULL (`r` . `custom2` , `f` . `custom2` ) as `custom2` FROM post p LEFT JOIN post_translation f ON `p` . `post_id` = `f` . `post_id` AND `f` . `lang_id` = ? LEFT JOIN post_translation r ON `p` . `post_id` = `r` . `post_id` AND `r` . `lang_id` = ? WHERE p . post_id IN (? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? )
Parameters :
[
1
2
602656
442550
558793
564951
595567
491456
471971
515817
506208
457539
552104
473320
480487
644668
467797
622661
469695
486996
557548
513437
551826
475065
502843
482997
455645
559055
564902
443029
464759
514317
460375
628355
486962
551950
731326
527886
769336
479476
473788
455210
502000
547941
618924
588975
689915
613282
667146
568368
731684
474554
542187
559182
426979
482257
481485
574308
441229
397938
644034
660268
615184
597174
721916
391571
491600
487157
667999
637517
779312
807271
599297
558732
552021
810440
413262
518520
588813
514622
659204
467804
554769
636264
588907
580714
555429
656792
]
SELECT
p . post_id ,
p . user_id ,
p . content_id ,
p . public_key ,
p . search_field ,
p . cover ,
p . type ,
p . sexual_orientation ,
p . orientation ,
p . quality ,
p . noindex ,
p . nofollow ,
p . contents_num ,
p . duration ,
p . likes ,
p . dislikes ,
p . views ,
p . vote_rating ,
p . params ,
p . published_at ,
IFNULL (`r` . `title` , `f` . `title` ) as `title` ,
IFNULL (`r` . `custom1` , `f` . `custom1` ) as `custom1` ,
IFNULL (`r` . `custom2` , `f` . `custom2` ) as `custom2`
FROM
post p
LEFT JOIN post_translation f ON `p` . `post_id` = `f` . `post_id`
AND `f` . `lang_id` = ?
LEFT JOIN post_translation r ON `p` . `post_id` = `r` . `post_id`
AND `r` . `lang_id` = ?
WHERE
p . post_id IN (
? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? ,
? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? ,
? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? ,
? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? ,
? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? ,
? , ? , ? , ? , ? , ? , ? , ? , ? , ?
)
Copy
SELECT p . post_id , p . user_id , p . content_id , p . public_key , p . search_field , p . cover , p . type , p . sexual_orientation , p . orientation , p . quality , p . noindex , p . nofollow , p . contents_num , p . duration , p . likes , p . dislikes , p . views , p . vote_rating , p . params , p . published_at , IFNULL (`r` . `title` , `f` . `title` ) as `title` , IFNULL (`r` . `custom1` , `f` . `custom1` ) as `custom1` , IFNULL (`r` . `custom2` , `f` . `custom2` ) as `custom2` FROM post p LEFT JOIN post_translation f ON `p` . `post_id` = `f` . `post_id` AND `f` . `lang_id` = 1 LEFT JOIN post_translation r ON `p` . `post_id` = `r` . `post_id` AND `r` . `lang_id` = 2 WHERE p . post_id IN (602656 , 442550 , 558793 , 564951 , 595567 , 491456 , 471971 , 515817 , 506208 , 457539 , 552104 , 473320 , 480487 , 644668 , 467797 , 622661 , 469695 , 486996 , 557548 , 513437 , 551826 , 475065 , 502843 , 482997 , 455645 , 559055 , 564902 , 443029 , 464759 , 514317 , 460375 , 628355 , 486962 , 551950 , 731326 , 527886 , 769336 , 479476 , 473788 , 455210 , 502000 , 547941 , 618924 , 588975 , 689915 , 613282 , 667146 , 568368 , 731684 , 474554 , 542187 , 559182 , 426979 , 482257 , 481485 , 574308 , 441229 , 397938 , 644034 , 660268 , 615184 , 597174 , 721916 , 391571 , 491600 , 487157 , 667999 , 637517 , 779312 , 807271 , 599297 , 558732 , 552021 , 810440 , 413262 , 518520 , 588813 , 514622 , 659204 , 467804 , 554769 , 636264 , 588907 , 580714 , 555429 , 656792 );
Copy
11
2.67 ms
SELECT pht . post_id , pht . tag_id , t . slug , IFNULL (`r` . `name` , `f` . `name` ) as `name` FROM post_has_tag pht INNER JOIN tag t ON pht . tag_id = t . tag_id AND t . enabled = 1 LEFT JOIN tag_translation f ON t . tag_id = f . tag_id AND f . lang_id = ? LEFT JOIN tag_translation r ON `t` . `tag_id` = `r` . `tag_id` AND `r` . `lang_id` = ? WHERE pht . post_id IN (? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? )
Parameters :
[
1
2
391571
397938
413262
426979
441229
442550
443029
455210
455645
457539
460375
464759
467797
467804
469695
471971
473320
473788
474554
475065
479476
480487
481485
482257
482997
486962
486996
487157
491456
491600
502000
502843
506208
513437
514317
514622
515817
518520
527886
542187
547941
551826
551950
552021
552104
554769
555429
557548
558732
558793
559055
559182
564902
564951
568368
574308
580714
588813
588907
588975
595567
597174
599297
602656
613282
615184
618924
622661
628355
636264
637517
644034
644668
656792
659204
660268
667146
667999
689915
721916
731326
731684
769336
779312
807271
810440
]
SELECT
pht . post_id ,
pht . tag_id ,
t . slug ,
IFNULL (`r` . `name` , `f` . `name` ) as `name`
FROM
post_has_tag pht
INNER JOIN tag t ON pht . tag_id = t . tag_id
AND t . enabled = 1
LEFT JOIN tag_translation f ON t . tag_id = f . tag_id
AND f . lang_id = ?
LEFT JOIN tag_translation r ON `t` . `tag_id` = `r` . `tag_id`
AND `r` . `lang_id` = ?
WHERE
pht . post_id IN (
? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? ,
? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? ,
? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? ,
? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? ,
? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? ,
? , ? , ? , ? , ? , ? , ? , ? , ? , ?
)
Copy
SELECT pht . post_id , pht . tag_id , t . slug , IFNULL (`r` . `name` , `f` . `name` ) as `name` FROM post_has_tag pht INNER JOIN tag t ON pht . tag_id = t . tag_id AND t . enabled = 1 LEFT JOIN tag_translation f ON t . tag_id = f . tag_id AND f . lang_id = 1 LEFT JOIN tag_translation r ON `t` . `tag_id` = `r` . `tag_id` AND `r` . `lang_id` = 2 WHERE pht . post_id IN (391571 , 397938 , 413262 , 426979 , 441229 , 442550 , 443029 , 455210 , 455645 , 457539 , 460375 , 464759 , 467797 , 467804 , 469695 , 471971 , 473320 , 473788 , 474554 , 475065 , 479476 , 480487 , 481485 , 482257 , 482997 , 486962 , 486996 , 487157 , 491456 , 491600 , 502000 , 502843 , 506208 , 513437 , 514317 , 514622 , 515817 , 518520 , 527886 , 542187 , 547941 , 551826 , 551950 , 552021 , 552104 , 554769 , 555429 , 557548 , 558732 , 558793 , 559055 , 559182 , 564902 , 564951 , 568368 , 574308 , 580714 , 588813 , 588907 , 588975 , 595567 , 597174 , 599297 , 602656 , 613282 , 615184 , 618924 , 622661 , 628355 , 636264 , 637517 , 644034 , 644668 , 656792 , 659204 , 660268 , 667146 , 667999 , 689915 , 721916 , 731326 , 731684 , 769336 , 779312 , 807271 , 810440 );
Copy
12
161.46 ms
SELECT phc . post_id , phc . category_id , c . slug , IFNULL (`r` . `name` , `f` . `name` ) as `name` FROM post_has_category phc INNER JOIN category c ON phc . category_id = c . category_id AND c . enabled = 1 LEFT JOIN category_translation f ON c . category_id = f . category_id AND f . lang_id = ? LEFT JOIN category_translation r ON `c` . `category_id` = `r` . `category_id` AND `r` . `lang_id` = ? WHERE phc . post_id IN (? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? )
Parameters :
[
1
2
391571
397938
413262
426979
441229
442550
443029
455210
455645
457539
460375
464759
467797
467804
469695
471971
473320
473788
474554
475065
479476
480487
481485
482257
482997
486962
486996
487157
491456
491600
502000
502843
506208
513437
514317
514622
515817
518520
527886
542187
547941
551826
551950
552021
552104
554769
555429
557548
558732
558793
559055
559182
564902
564951
568368
574308
580714
588813
588907
588975
595567
597174
599297
602656
613282
615184
618924
622661
628355
636264
637517
644034
644668
656792
659204
660268
667146
667999
689915
721916
731326
731684
769336
779312
807271
810440
]
SELECT
phc . post_id ,
phc . category_id ,
c . slug ,
IFNULL (`r` . `name` , `f` . `name` ) as `name`
FROM
post_has_category phc
INNER JOIN category c ON phc . category_id = c . category_id
AND c . enabled = 1
LEFT JOIN category_translation f ON c . category_id = f . category_id
AND f . lang_id = ?
LEFT JOIN category_translation r ON `c` . `category_id` = `r` . `category_id`
AND `r` . `lang_id` = ?
WHERE
phc . post_id IN (
? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? ,
? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? ,
? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? ,
? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? ,
? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? ,
? , ? , ? , ? , ? , ? , ? , ? , ? , ?
)
Copy
SELECT phc . post_id , phc . category_id , c . slug , IFNULL (`r` . `name` , `f` . `name` ) as `name` FROM post_has_category phc INNER JOIN category c ON phc . category_id = c . category_id AND c . enabled = 1 LEFT JOIN category_translation f ON c . category_id = f . category_id AND f . lang_id = 1 LEFT JOIN category_translation r ON `c` . `category_id` = `r` . `category_id` AND `r` . `lang_id` = 2 WHERE phc . post_id IN (391571 , 397938 , 413262 , 426979 , 441229 , 442550 , 443029 , 455210 , 455645 , 457539 , 460375 , 464759 , 467797 , 467804 , 469695 , 471971 , 473320 , 473788 , 474554 , 475065 , 479476 , 480487 , 481485 , 482257 , 482997 , 486962 , 486996 , 487157 , 491456 , 491600 , 502000 , 502843 , 506208 , 513437 , 514317 , 514622 , 515817 , 518520 , 527886 , 542187 , 547941 , 551826 , 551950 , 552021 , 552104 , 554769 , 555429 , 557548 , 558732 , 558793 , 559055 , 559182 , 564902 , 564951 , 568368 , 574308 , 580714 , 588813 , 588907 , 588975 , 595567 , 597174 , 599297 , 602656 , 613282 , 615184 , 618924 , 622661 , 628355 , 636264 , 637517 , 644034 , 644668 , 656792 , 659204 , 660268 , 667146 , 667999 , 689915 , 721916 , 731326 , 731684 , 769336 , 779312 , 807271 , 810440 );
Copy