{
"query_block": {
"select_id": 1,
"cost": 0.01801512,
"nested_loop": [
{
"read_sorted_file": {
"filesort": {
"sort_key": "cscart_discussion_posts.`timestamp` desc",
"table": {
"table_name": "cscart_discussion_posts",
"access_type": "ref",
"possible_keys": ["thread_id", "thread_id_2"],
"key": "thread_id",
"key_length": "3",
"used_key_parts": ["thread_id"],
"ref": ["const"],
"loops": 1,
"rows": 5,
"cost": 0.00743232,
"filtered": 100,
"attached_condition": "cscart_discussion_posts.thread_id <=> 26 and cscart_discussion_posts.`status` = 'A'"
}
}
}
},
{
"table": {
"table_name": "cscart_discussion_messages",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY"],
"key": "PRIMARY",
"key_length": "3",
"used_key_parts": ["post_id"],
"ref": ["u985510652_ecartify_dev.cscart_discussion_posts.post_id"],
"loops": 5,
"rows": 1,
"cost": 0.0052914,
"filtered": 100
}
},
{
"table": {
"table_name": "cscart_discussion_rating",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY"],
"key": "PRIMARY",
"key_length": "3",
"used_key_parts": ["post_id"],
"ref": ["u985510652_ecartify_dev.cscart_discussion_posts.post_id"],
"loops": 5,
"rows": 1,
"cost": 0.0052914,
"filtered": 100
}
}
]
}
}
| post_id | thread_id | name | timestamp | user_id | ip_address | status | message | rating_value |
|---|---|---|---|---|---|---|---|---|
| 127 | 26 | RJ | 1765456020 | 1 | 2402e28041170146ac131f7c18d4649e | A | The services are amazing and im working with this company since 2000 | 5 |
| 125 | 26 | Admin Admin | 1765453500 | 1 | 2402e28041170146ac131f7c18d4649e | A | 4 | |
| 120 | 26 | Admin Admin | 1765448460 | 1 | 2402e28041170146ac131f7c18d4649e | A | Test this is like a test | 3 |
| 18 | 26 | Alex | 1383914729 | 0 | 10.7.7.93 | A | You guys have the BEST customer service known to man!!! I have always been impressed with how fast you help us out! | 4 |
| 19 | 26 | Michael | 1383914678 | 0 | 10.7.7.93 | A | You're the best! Thank you most graciously and appreciatively! | 5 |