PHPize Online / SQLize Online  /  SQLtest Online

A A A
Share      Blog   Popular
Copy Format Clear
Copy Clear
Copy Format Clear
<?php $query = "SELECT name AS category, COUNT(*) AS film_count FROM category c LEFT JOIN film_category fc USING(category_id) GROUP BY name ORDER BY name"; if (preg_match("/(left|right)(\s+outer)?\s+join/im", $query, $m)) { var_export($m); }
Show:  
Copy Clear