bot50
2026-04-15 09:01:56 +00:00
commit dc741d0273
10 changed files with 28 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";