bot50
2026-04-15 08:41:48 +00:00
commit 9b7ac9c01b
10 changed files with 17 additions and 0 deletions

2
7.sql Normal file
View File

@@ -0,0 +1,2 @@
-- write a SQL query to count the number of players who bat (or batted) right-handed and throw (or threw) left-handed, or vice versa.
SELECT COUNT(*) FROM "players" WHERE "bats" = "R" AND "throws" = "L" OR "bats" = "L" AND "throws" = "R";