Do you have some docs or anything that explain the possible ways or solutions to dynamically allocat
Do you have some docs or anything that explain the possible ways or solutions to dynamically allocate?
2/17/24, 7:42 PM
p.posted and p.retry but it's still scanning the whole table p. Is there anyway to reduce scanned rows of the query above? I'm running this query every minutes so everyday I'm wasting 10-20k scanned row. This table is going to grow much larger so the waste will be more significant
p.postedp.retrypSELECT *
FROM categories
JOIN images_categories ON categories.id = images_categories.category_id
JOIN images ON images_categories.image_id = images.id;Error: D1_ERROR: A prepared SQL statement must contain only one statement.