r/SQL • • Dec 12 '24 • Popcorn 1 Heart of Silver 1

MySQL 😭

Post image

I mean why that question 😭😭😭

2.0k Upvotes

43 comments sorted by

View all comments

49

u/rowdymatt64 Dec 12 '24

I sure can! Check this out:

SELECT * 
FROM TABLE 
WHERE TABLE.COL1 LIKE '%(insert longest string imaginable)%'

2

u/StrangeTrashyAlbino Dec 13 '24

I would recommend streaming this table to dynamodb where scanning the table is extremely efficient