Jump to content

Choosing Records From One Table Depending On Criteria In A Different Table


JakeMogul

Recommended Posts

I'm making a page which shows from a table only items that are cheapest from a certain supplier using <.

 

The problem I'm encountering is that the prices are stored in a different table, a master price list.

 

I have a query SELECT * FROM tablename WHERE column1 < column 2

 

but the WHERE part of the clause needs to apply to a different table than the table I'm selecting records from.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.