Jump to content

How to Select Where column_name=column_value


Zeradin

Recommended Posts

I have two tables and one has a bunch of fields that are 0 and 1 and another table with a list of those fields and information about them. i want to select the information from table 2 where the values in table1 are 1. so i figure i have to do like

 

select * from table1, where table1.column_value = table2.column_field

 

or something. thank you!

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.