Jump to content

How to Select Where column_name=column_value


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!

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.