bot50
2026-04-15 08:49:58 +00:00
commit 359dcd2478
10 changed files with 20 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";