diff --git a/README.md b/README.md index 001028b..72bcd00 100644 --- a/README.md +++ b/README.md @@ -47,11 +47,11 @@ joins and aggregations are also supported >>> q = """SELECT m.date, m.beef, b.births FROM - meats m + meat m INNER JOIN births b ON m.date = b.date;""" ->>> joined = pyqldf(q) +>>> joined = pysqldf(q) >>> print joined.head() date beef births 403 2012-07-01 00:00:00 2200.8 368450 @@ -60,13 +60,13 @@ joins and aggregations are also supported 406 2012-10-01 00:00:00 2343.7 347625 407 2012-11-01 00:00:00 2206.6 320195 ->>> q = "select +>>> q = """select strftime('%Y', date) as year , SUM(beef) as beef_total FROM meat GROUP BY - year;" + year;""" >>> print pysqldf(q).head() year beef_total 0 1944 8801