0
我想從SQL查詢中提取表名。Ruby正則表達式 - 提取字
SELECT col1, col2, count(1) as count_all, FROM tbl1, tbl2 where condition order by column
我想格蘭結果["tbl1", "tbl2"]
這是沒有必要的,將有多個表查詢。在這種情況下,查詢將
SELECT col1, col2, count(1) as count_all, FROM tbl1 where condition order by column
和預期結果["tbl1"]
提前感謝!
非常感謝! – Sayuj 2012-07-24 06:43:56