Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -31,7 +31,7 @@ def fetch_data_as_json():
|
|
| 31 |
# Execute the SQL query
|
| 32 |
query = "SELECT playerNr, subjectNr, initialCredit, transfer1, tripledAmount1, keptForSelf1, returned1, " \
|
| 33 |
"newCreditRound2, transfer2, tripledAmount2, keptForSelf2, returned2, results2rounds, " \
|
| 34 |
-
"newCreditRound3, transfer3, tripledAmount3, keptForSelf3, returned3, results3rounds FROM
|
| 35 |
cursor.execute(query)
|
| 36 |
|
| 37 |
# Fetch all rows and convert to a list of dictionaries
|
|
|
|
| 31 |
# Execute the SQL query
|
| 32 |
query = "SELECT playerNr, subjectNr, initialCredit, transfer1, tripledAmount1, keptForSelf1, returned1, " \
|
| 33 |
"newCreditRound2, transfer2, tripledAmount2, keptForSelf2, returned2, results2rounds, " \
|
| 34 |
+
"newCreditRound3, transfer3, tripledAmount3, keptForSelf3, returned3, results3rounds FROM e5390g37096_decisions"
|
| 35 |
cursor.execute(query)
|
| 36 |
|
| 37 |
# Fetch all rows and convert to a list of dictionaries
|