Spring data jpa query interval value

the structure of the table is as follows:
ID,NAME,START,END
case data are as follows:
ID NAME START END
1 Zhang San 100200
2 Zhang San 600900
3 Li Si 210 460
.
want to realize that input 150 can query 1 Zhang San 100 200, input 460 query to 3 Li Si 210 460, and so on

Mar.04,2021
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e45943-44b53.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e45943-44b53.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?