Suppose there are multiple statements like this:
select T_JGDM_20160811.JJLX from T_JGDM_20160811 where rownum < 30;
select T_JGDM.JJLX from T_JGDM where rownum < 30;
...
We can summarize it into the format of select xxx from yyy
, how to execute multiple such statements at one time in Python, where xxx and yyy are variable.
You can extract xxx and yyy as variables