Skip to content

Commit

Permalink
Update sql_execution.py
Browse files Browse the repository at this point in the history
  • Loading branch information
joelsewhere authored Dec 12, 2024
1 parent 2e94819 commit acbe61b
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions python-package/employee_events/sql_execution.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,20 @@
# Define a class called `QueryMixin`
class QueryMixin:

# Define a method named `run_query`
# Define a method named `pandas_query`
# that receives an sql query as a string
# and returns the sql queries result
# and returns the query's result
# as a pandas dataframe
#### YOUR CODE HERE

# Define a method named `query`
# that receives an sql_query as a string
# and returns the query's result as
# a list of tuples. (You will need
# to use an sqlite3 cursor)
#### YOUR CODE HERE



# Leave this code unchanged
def query(func):
Expand Down

0 comments on commit acbe61b

Please sign in to comment.