Answers for "joomla execute raw sql"

SQL
0

joomla execute raw sql

$db = JFactory::getDbo();
$sql = "UPDATE TableB SET TableB.value = (SELECT TableA.value FROM TableA WHERE TableA.name = TableB.name);
$db->setQuery($sql);
$result = $db->query();
Posted by: Guest on September-30-2021

Code answers related to "SQL"

Browse Popular Code Answers by Language