mysqlだけwith句非対応とか

元々mysqlばっかで、最近よくOracle触ってるのですが。

 

Oracleでwith句の存在知って、SQL再帰表現使えて便利だな〜、って思っていたら、

むしろwith句が使えるのが当り前っぽい。

というか、SQLiteですら使えるのね。

 

mysql “with” clause


MySQL does not support queries using the WITH syntax defined in SQL-99, also called Common Table Expressions.

This has been a feature request for MySQL since January 2006: http://bugs.mysql.com/bug.php?id=16244

Other RDBMS products that support common table expressions: