Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Basic query

Status
Not open for further replies.

Mcnultyj

Technical User
Oct 2, 2001
2
GB
Hello,

I need to write a basic query to only show the columns that belong to a particular row not all the rows in the table. for example all the columns that belong to id4.

regards
 
I think you are either loking for:

SELECT *
FROM MyTable
WHERE MyTable.ID = "ID4"

Or:

SELECT ID4
FROM MyTable

Not sure, but one of those should do... Terry M. Hoey
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top