PDSQL Python领域特定查询语言 CS 164的最终项目
PDSQL(Python域特定查询语言)加州大学伯克利分校CS 164的最终项目,2014年秋季。可交付成果:示例查询import sqlite3 from PDTable import PDTable # Connect to the database connection = sqlite3.connect('tests/db.sqlite3') cursor = connection.cursor() # Create a PDTable for the "counties" table c = PDTable('counties', cursor=cursor) # Get all the counties with a 2010 population greater than 2 million, # get their statecodes, names,
下载地址
用户评论