Two-column selection

How can I make the search result only show two columns from the table, for example, ‘name’ and ‘lastname’ ? I have it like this:

$sql=mysql_query("SELECT * FROM 'members' WHERE 'lastname' LIKE '%{$user_get}%' ");

Answer 1, authority 100%

$sql=mysql_query("SELECT `name`, `lastname` FROM `members` WHERE `lastname` LIKE '%{$user_get}%' ");

Pay attention to the slashes.