Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/sql/73.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
我想用python和sql从c.execute中进行pprint,但我不知道如何执行_Python_Sql_Printing - Fatal编程技术网

我想用python和sql从c.execute中进行pprint,但我不知道如何执行

我想用python和sql从c.execute中进行pprint,但我不知道如何执行,python,sql,printing,Python,Sql,Printing,从: 在发布查询之前,请仔细阅读,并在空白处填写 c.execute("SELECT 'Fistname','Lastname','Year','Form','Phone','Adress' FROM Students") for row in c.execute("SELECT Fistname,Lastname,Year,Form,Phone,Adress FROM Students"): print row

从:


在发布查询之前,请仔细阅读,并在空白处填写
c.execute("SELECT 'Fistname','Lastname','Year','Form','Phone','Adress' FROM Students")
for row in c.execute("SELECT Fistname,Lastname,Year,Form,Phone,Adress FROM Students"):
    print row