我想从python和sql中的c.execute pprint但我不知道如何

时间:2017-02-27 17:46:38

标签: python sql printing

c.execute("SELECT 'Fistname','Lastname','Year','Form','Phone','Adress' FROM Students")

1 个答案:

答案 0 :(得分:0)

来自API documentation

for row in c.execute("SELECT Fistname,Lastname,Year,Form,Phone,Adress FROM Students"):
    print row