SELECT author FROM lyrics WHERE author LIKE 'B%';
Make sure you have an index on author
, though!
More Related Contents:
- SQL split values to multiple rows
- Find duplicate records in MySQL
- MySQL order by before group by
- MySQL Cannot Add Foreign Key Constraint
- Which is fastest? SELECT SQL_CALC_FOUND_ROWS FROM `table`, or SELECT COUNT(*)
- MySQL: selecting rows where a column is null
- Difference between float and decimal data type
- Convert timestamp to date in MySQL query
- Update a column value, replacing part of a string
- mysql dynamic query in stored procedure
- mysql: get record count between two date-time
- MySQL Insert Into from one Database in another
- How to remove all MySQL tables from the command-line without DROP database permissions? [duplicate]
- How to select one row randomly taking into account a weight?
- auto_increment by group
- GROUP BY – do not group NULL
- Composite key as foreign key (sql)
- Sort the rows according to the order specified in WHERE IN clause
- Multiple Table Select vs. JOIN (performance)
- How can I use SQL’s YEAR(), MONTH() and DAY() in Doctrine2?
- Is MySQL Temporary table a shared resource?
- MySQL distinction between e and é (e acute) – UNIQUE index
- Comparing with NULL values
- How to import a SQL Server .bak file into MySQL?
- Find method to store an IP in MySQL for better performance
- Should I always prefer MySQL InnoDB over MyISAM?
- MySQL add 12 hours to a time field
- OSX ld: library not found for -lssl
- Ruby on Rails – cannot load such file — mysql2/2.2/mysql2 (LoadError)
- MySQL: Find Missing Dates Between a Date Range