Last active
April 17, 2022 10:36
-
-
Save kenjipm/553ab8733d7cb75453f53463e3da9e01 to your computer and use it in GitHub Desktop.
Given the following data definition, write a query that returns the number of students whose first name is John. TABLE students id INTEGER PRIMARY KEY, firstName VARCHAR(30) NOT NULL, lastName VARCHAR(30) NOT NULL
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT COUNT(*) FROM students WHERE firstName = "John"; |
SELECT COUNT(*) FROM students WHERE firstName = 'John';
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
THANK U SO MUCH