Meta: What Is The Best Place To Buy Lunch In Lehigh Valley, PA?, Results: #1. China House II, #2. Villa Rosa, #3. Cali Burrito, #4. Easy Street Eats, #5. Keystone Pub; TalkFavorites.me
[0.00028109550476074] Connecting to MySQL server
[0.00046491622924805] SELECT * FROM countries ORDER BY country_name ASC
[0.00042891502380371] SELECT * FROM locations l LEFT JOIN states s ON s.state_id = l.state_id LEFT JOIN countries c ON c.country_id = s.country_id WHERE state = 'lehigh-valley' AND slug = 'what-is-the-best-place-to-buy-lunch-in-lehigh-valley' AND c.country_slug = 'pa'
[0.00024700164794922] SELECT * FROM locations l LEFT JOIN states s ON s.state_id = l.state_id LEFT JOIN countries c ON c.country_id = s.country_id WHERE state_name = 'lehigh-valley' AND slug = 'what-is-the-best-place-to-buy-lunch-in-lehigh-valley' AND c.country_slug = 'pa'
[6.2942504882812E-5] SELECT * FROM questions_location WHERE location_id = '1' AND question_id = '3' LIMIT 1
[0.0011608600616455] SELECT r.text, r.text_slug, r.total, p.comments, p.place_id, r.question_id, r.location_id FROM responses_summary r LEFT JOIN places p ON p.location_id = r.location_id AND p.place_slug = r.text_slug WHERE r.question_id = '3' AND r.location_id = '1' AND r.total > 0 ORDER BY r.total DESC, r.rs_id ASC LIMIT 0,11
[8.6069107055664E-5] SELECT r.text, r.text_slug, r.total, p.comments, p.place_id, r.question_id, r.location_id FROM responses_summary r LEFT JOIN places p ON p.location_id = r.location_id AND p.place_slug = r.text_slug WHERE r.question_id = '3' AND r.location_id = '1' AND r.total > 0 ORDER BY r.total DESC, r.rs_id ASC LIMIT 0,11
[0.0027449131011963] SELECT `a`.* , `b`.`subject` , `c`.`prefix` , `d`.`answers` , `d`.`location_id` , `d`.`ql_id` , `g`.`username` , `g`.`last_name` , `g`.`first_name` FROM `questions` AS `a` LEFT JOIN `questions_subject` AS `b` ON (`b`.`qs_id` = `a`.`subject_id`) LEFT JOIN `questions_prefix` AS `c` ON (`c`.`qp_id` = `a`.`prefix_id`) LEFT JOIN `questions_location` AS `d` ON (`d`.`question_id` = `a`.`question_id` AND `d`.`location_id` IN ('1')) LEFT JOIN `locations` AS `e` ON (`e`.`location_id` = `d`.`location_id`) LEFT JOIN `states` AS `f` ON (`f`.`state_id` = `e`.`state_id`) LEFT JOIN `users` AS `g` ON (`g`.`user_id` = `d`.`user_id`) LEFT JOIN `responses` AS `h` ON (`h`.`question_id` = `d`.`question_id` AND `h`.`location_id` = `d`.`location_id`) WHERE (`a`.`status` IN ('new','open') AND `d`.`ql_id` IS NOT NULL AND (`f`.`country_id` IN ('1') OR `d`.`ql_id` IS NULL )) GROUP BY `a`.`question_id` ORDER BY `d`.`answers` DESC LIMIT 0, 6
[0.00050210952758789] SELECT `a`.* , `b`.`subject` , `c`.`prefix` , `d`.`answers` , `d`.`location_id` , `d`.`ql_id` , `g`.`username` , `g`.`last_name` , `g`.`first_name` FROM `questions` AS `a` LEFT JOIN `questions_subject` AS `b` ON (`b`.`qs_id` = `a`.`subject_id`) LEFT JOIN `questions_prefix` AS `c` ON (`c`.`qp_id` = `a`.`prefix_id`) LEFT JOIN `questions_location` AS `d` ON (`d`.`question_id` = `a`.`question_id` AND `d`.`location_id` IN ('1')) LEFT JOIN `locations` AS `e` ON (`e`.`location_id` = `d`.`location_id`) LEFT JOIN `states` AS `f` ON (`f`.`state_id` = `e`.`state_id`) LEFT JOIN `users` AS `g` ON (`g`.`user_id` = `d`.`user_id`) WHERE (`a`.`status` IN ('new','open') AND `d`.`ql_id` IS NOT NULL AND (`f`.`country_id` IN ('1') OR `d`.`ql_id` IS NULL )) ORDER BY `d`.`ql_id` DESC LIMIT 0, 6
[0.00019383430480957] SELECT subject2_id FROM questions_subject_related WHERE subject1_id IN ('2')
[0.0060949325561523] SELECT * FROM locations l LEFT JOIN states s ON s.state_id = l.state_id LEFT JOIN countries c ON c.country_id = s.country_id WHERE l.status IN ('new','pending','validated') AND l.longitude BETWEEN -75.5479061 AND -74.9479061 AND l.latitude BETWEEN 40.4291847 AND 41.0291847
[0.0018641948699951] SELECT `a`.* , `b`.`subject` , `c`.`prefix` , `d`.`answers` , `d`.`location_id` , `d`.`ql_id` FROM `questions` AS `a` LEFT JOIN `questions_subject` AS `b` ON (`b`.`qs_id` = `a`.`subject_id`) LEFT JOIN `questions_prefix` AS `c` ON (`c`.`qp_id` = `a`.`prefix_id`) LEFT JOIN `questions_location` AS `d` ON (`d`.`question_id` = `a`.`question_id` AND `d`.`location_id` IN ('1','7','8','9','20','1744','1766','1774','1986','1987','1998','2000','2012','2021','2022','2032','4339','4340','4343','4344','4345','4346','4347','4348','4349','4351','4353','4356','4358','4359','4360','4362','4364','4368','4372','4373','4374','4377','4403','4406','4408','4409','4411','4417','4421','4423','4424','4426','4556','4562','4568','4574','4583')) LEFT JOIN `locations` AS `e` ON (`e`.`location_id` = `d`.`location_id`) LEFT JOIN `states` AS `f` ON (`f`.`state_id` = `e`.`state_id`) WHERE (`a`.`status` IN ('new','open') AND `d`.`ql_id` IS NOT NULL AND (`f`.`country_id` IN ('1') OR `d`.`ql_id` IS NULL ) AND `a`.`subject_id` IN ('2') AND `d`.`ql_id` <> '3') ORDER BY `d`.`ql_id` DESC LIMIT 0, 6
[0.00010299682617188] SELECT * FROM locations l LEFT JOIN states s ON s.state_id = l.state_id LEFT JOIN countries c ON c.country_id = s.country_id WHERE location_id = '20'
[9.608268737793E-5] SELECT * FROM locations l LEFT JOIN states s ON s.state_id = l.state_id LEFT JOIN countries c ON c.country_id = s.country_id WHERE location_id = '9'
[9.4890594482422E-5] SELECT * FROM locations l LEFT JOIN states s ON s.state_id = l.state_id LEFT JOIN countries c ON c.country_id = s.country_id WHERE location_id = '8'
[9.0122222900391E-5] SELECT * FROM locations l LEFT JOIN states s ON s.state_id = l.state_id LEFT JOIN countries c ON c.country_id = s.country_id WHERE location_id = '7'
[0.00089383125305176] SELECT user_id, username, first_name, last_name, profile_pic, questions, answers FROM users WHERE default_location IN ('1') AND answers > 0 ORDER BY answers DESC LIMIT 0, 5
[0.00064206123352051] SELECT * FROM locations l LEFT JOIN states s ON s.state_id = l.state_id LEFT JOIN countries c ON c.country_id = s.country_id WHERE l.status IN ('new','pending','validated') AND l.longitude BETWEEN -75.5479061 AND -74.9479061 AND l.latitude BETWEEN 40.4291847 AND 41.0291847
[0.0020298957824707] SELECT location_id, COUNT(response_id) AS activity FROM responses WHERE location_id IN ('7','8','9','1744','1766','1774','1986','1987','2012','2021','2032','4339','4340','4343','4345','4347','4348','4349','4353','4356','4358','4359','4362','4364','4368','4372','4373','4374','4377','4417','4423','4424','4562','4583') AND date_answered > '2013-05-17 03:01:31' GROUP BY location_id ORDER BY activity DESC LIMIT 5
[0.0004119873046875] SELECT * FROM locations l LEFT JOIN states s ON s.state_id = l.state_id LEFT JOIN countries c ON c.country_id = s.country_id WHERE location_id = '4374'
[0.00033307075500488] SELECT * FROM locations l LEFT JOIN states s ON s.state_id = l.state_id LEFT JOIN countries c ON c.country_id = s.country_id WHERE location_id = '4373'
[0.00031518936157227] SELECT * FROM locations l LEFT JOIN states s ON s.state_id = l.state_id LEFT JOIN countries c ON c.country_id = s.country_id WHERE location_id = '4362'
[0.0003209114074707] SELECT * FROM locations l LEFT JOIN states s ON s.state_id = l.state_id LEFT JOIN countries c ON c.country_id = s.country_id WHERE location_id = '2021'
getting prod_location_what-is-the-best-place-to-buy-lunch-in-lehigh-valley,lehigh-valley,pa (apc)
getting prod_location_lehigh-valley,pa,united-states (apc)
getting prod_location_1 (apc)
getting prod_question_what-is-the-best-place-to-buy-lunch (apc)
getting prod_question_3 (apc)
getting prod_responses_3_1 (apc)
setting prod_responses_3_1 (apc)
setting prod_responses_3_1 (apc)
getting prod_questions_starter_1, prod_questions_trending_1, prod_questions_newest_1 (apc)
getting prod_questions_trending_1 (apc)
setting prod_questions_trending_1 (apc)
getting prod_questions_newest_1 (apc)
setting prod_questions_newest_1 (apc)
getting prod_subject_related_2 (apc)
setting prod_subject_related_2 (apc)
getting prod_location_4346, prod_location_20, prod_location_9, prod_location_8, prod_location_7 (apc)
getting prod_location_20 (apc)
setting prod_location_saucon-valley,pa,united-states (apc)
setting prod_location_20 (apc)
getting prod_location_9 (apc)
setting prod_location_bethlehem,pa,united-states (apc)
setting prod_location_9 (apc)
getting prod_location_8 (apc)
setting prod_location_easton,pa,united-states (apc)
setting prod_location_8 (apc)
getting prod_location_7 (apc)
setting prod_location_allentown,pa,united-states (apc)
setting prod_location_7 (apc)
getting prod_top5_users_1 (apc)
setting prod_top5_users_1 (apc)
getting prod_location_closest_1 (apc)
setting prod_location_closest_1 (apc)
getting prod_location_4374, prod_location_4373, prod_location_4362, prod_location_2021 (apc)
getting prod_location_4374 (apc)
setting prod_location_tatamy,pa,united-states (apc)
setting prod_location_4374 (apc)
getting prod_location_4373 (apc)
setting prod_location_stockertown,pa,united-states (apc)
setting prod_location_4373 (apc)
getting prod_location_4362 (apc)
setting prod_location_nazareth,pa,united-states (apc)
setting prod_location_4362 (apc)
getting prod_location_2021 (apc)
setting prod_location_phillipsburg,nj,united-states (apc)
setting prod_location_2021 (apc)
Login type: ;