Zeradin Posted December 22, 2009 Share Posted December 22, 2009 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! Quote Link to comment https://forums.phpfreaks.com/topic/186048-how-to-select-where-column_namecolumn_value/ Share on other sites More sharing options...
akitchin Posted December 22, 2009 Share Posted December 22, 2009 can you be more specific? what column names and types are you dealing with, and how is the information related? Quote Link to comment https://forums.phpfreaks.com/topic/186048-how-to-select-where-column_namecolumn_value/#findComment-982513 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.