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

Select all rows for a particular column

I want to select all rows from a table, for a particular column.

Ordinarily, this question would have been rejected, because it is perhaps a bit too simple.

However, I love short questions, and wanted to take this opportunity to mention that short questions have a much better chance of being selected for answers than longer ones. Short questions leave room for interpretation, and thus allow me to point out best SQL practices, easier methods, things to watch out for, and so on.

However, in this case, the answer is even shorter than the question:

select columnC
  from TableName

If this wasn't what you were looking for, please re-submit the question with a wee bit more detail.


This was last published in March 2005

Dig Deeper on Oracle and SQL

PRO+

Content

Find more PRO+ content and other member only offers, here.

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.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.

-ADS BY GOOGLE

SearchDataManagement

SearchBusinessAnalytics

SearchSAP

SearchSQLServer

TheServerSide.com

SearchDataCenter

SearchContentManagement

SearchFinancialApplications

Close