Jump to content

INSERT SELECT WHERE


Recommended Posts

Hey Guys,

 

I am having a hard time figuring out this mysql query. So I have two tables like this.

schools
----------------------------
school | town | county | full



years
----------------------------
dis | location

I need to insert `full` into `locations` where `school` equals `district`.

 

Make sense? Hints would be preferred rather than answers.  

Link to comment
https://forums.phpfreaks.com/topic/277522-insert-select-where/
Share on other sites

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.