MySQL Delete Query With Join Syntax

May 10 2011

DELETE
	$table1
FROM
	$table1
LEFT JOIN
	$table2
ON
	$table1.fieldId = $table2.fieldId
WHERE
	$table2.fieldId == NULL
;

Comments Off

Comments are closed at this time.

Performance Optimization WordPress Plugins by W3 EDGE