i am making a lyrics script, lets say i want the songs that start with "a" letter get listed, what query do i need to run for it?
SELECT * FROM songs WHERE songs.name LIKE 'A%' or SELECT * from songs WHERE LEFT(songs.name,1)='a' If you have an index on the song name column then the 2nd query will be faster for sure.