Extracting the table columns for using with SELECT queries.

Never use "select *" again.
Removing asterisk from COUNT.

Using the primary key.