Select all where [first letter starts with B]

后端 未结 5 1173
耶瑟儿~
耶瑟儿~ 2020-12-08 06:28

This is a follow up question to my previous one. I want to write a MYSQL statement that echoes every entry that starts with letter B.

Function.php

f         


        
5条回答
  •  广开言路
    2020-12-08 06:49

    SELECT author FROM lyrics WHERE author LIKE 'B%';
    

    Make sure you have an index on author, though!

提交回复
热议问题