Skip to content

Commit

Permalink
improve prompts
Browse files Browse the repository at this point in the history
  • Loading branch information
BSalita committed Jan 29, 2024
1 parent 164e0f9 commit 5732af8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion default.favorites.json
Original file line number Diff line number Diff line change
Expand Up @@ -563,7 +563,7 @@
"prompts": [
{
"prompt": "",
"sql": "SELECT Board, CONCAT(section_name, Pair_Number_NS, ' - ', Player_Name_N, ' vs ', section_name, Pair_Number_EW, ' - ', Player_Name_E) AS NS_vs_EW, Contract, Contract_Pred FROM results WHERE Boards_We_Played = True ORDER BY Board, CONCAT(section_name, Pair_Number_NS)"
"sql": "SELECT Board, CASE WHEN Opponent_Pair_Direction='NS' THEN CONCAT(section_name, Pair_Number_NS, ' - ', Player_Name_N, ' - ', Player_Name_S) ELSE CONCAT(section_name, Pair_Number_EW, ' - ', Player_Name_E, ' - ', Player_Name_W) END AS Opponents, Contract, Contract_Pred FROM results WHERE Boards_We_Played = True ORDER BY Board, CONCAT(section_name, Pair_Number_NS)"
}
]
},
Expand Down

0 comments on commit 5732af8

Please sign in to comment.