Q
Problem solve Get help with specific problems with your technologies, process and projects.

Using the SELECT and WHERE clauses to display data

MySQL expert Mike Hillyer explains the command sequences needed for using the SELECT and WHERE clauses to narrow down data results.

How can I display the results of 3 columns (A, B, C) in one table if the value of column "C" is greater than a specific number?

In this case, we specify the columns we want in the SELECT clause and narrow down the results in the WHERE clause:

SELECT A, B, C

FROM mytable

WHERE C > 50;

Dig Deeper on Linux servers

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.

-ADS BY GOOGLE

SearchWindowsServer

SearchServerVirtualization

SearchCloudComputing

Close