{
"query_block": {
"select_id": 1,
"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_2",
"key_length": "6",
"used_key_parts": ["thread_id", "status"],
"ref": ["const", "const"],
"rows": 1,
"filtered": 100,
"index_condition": "cscart_discussion_posts.`status` = 'A'",
"attached_condition": "cscart_discussion_posts.thread_id <=> 148732 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": ["cscart_migrate.cscart_discussion_posts.post_id"],
"rows": 1,
"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": ["cscart_migrate.cscart_discussion_posts.post_id"],
"rows": 1,
"filtered": 100
}
}
}
| post_id | thread_id | name | timestamp | user_id | ip_address | status | message | rating_value | |
|---|---|---|---|---|---|---|---|---|---|
| 123856 | 148732 | caitlin | 1425494700 | 1026082 | 50.149.119.211 | A | I bought this for my son's room as a reading light and he has a big room - this light is a bit smaller than I anticipated! But it's still cute. The only strange thing is it doesn't seem to screw together too tightly. When you rotate the lamp back and forth it can come undone. We had a hard-wired spot for it so we had someone alter it to have a switch and be hard-wired. I wish it were offered in that combination but it works the way we have it | 4 |