标签: postgresql
如何从以下SQL表中提取“ 2019-06-19 13:30:00-04”以在python文件中用作变量?
SELECT max(begin_ts) FROM ecn_stats_2019_06_19 WHERE name = 'raw_msg_count' and process_name LIKE 'matching_%_gw'; max ------------------------ 2019-06-19 13:30:00-04 (1 row)