jim.davidson Posted February 11, 2010 Share Posted February 11, 2010 I want to replace all field "A" with field "B" where field "C" is empty. Can someone point me in the right direction? Any help will be appreciated. Link to comment https://forums.phpfreaks.com/topic/191823-need-help-with-mysql-command/ Share on other sites More sharing options...
sader Posted February 11, 2010 Share Posted February 11, 2010 UPDATE `table` SET `b`=`a` WHERE `c`= '' Link to comment https://forums.phpfreaks.com/topic/191823-need-help-with-mysql-command/#findComment-1011040 Share on other sites More sharing options...
jim.davidson Posted February 11, 2010 Author Share Posted February 11, 2010 Found the answer further down in the forum Link to comment https://forums.phpfreaks.com/topic/191823-need-help-with-mysql-command/#findComment-1011041 Share on other sites More sharing options...
jim.davidson Posted February 11, 2010 Author Share Posted February 11, 2010 Thanks Sader, I found it just before you replied. Thank you anyway, that's what I was looking for. Link to comment https://forums.phpfreaks.com/topic/191823-need-help-with-mysql-command/#findComment-1011042 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.