Question: Quiz 2 4. With SQL, how do you select all the records from a table named Students where the FirstName is Jack and Marks are



Quiz 2 4. With SQL, how do you select all the records from a table named "Students" where the "FirstName" is Jack and "Marks" are greater than 65? 1) SELECT * FROM Students WHERE 'FirstName'="Jack' AND 'Marks'>65; II) SELECT * FROM Students WHERE 'FirstName'='Jack', 'Marks'>65; III) SELECT * FROM Students WHERE FirstName="Jack' AND Marks>65; IV) none of them You can also see the options in the following figure 1) SELECT * FROM Students WHERE 'FirstName'='Jack' AND 'Marks'>65; 11) SELECT * FROM Students WHERE 'FirstName'='Jack', 'Marks'>65; III) SELECT * FROM Students WHERE FirstName='Jack' AND Marks>65; IV) none of them a) II b) IV I III Leave blank Quiz 2 5. Which of the following statement displays all the cities with the condition, temperature and hummidity whose hummidity is in the range of 60 to 75 from the "weather" table? 1) SELECT * FROM weather WHERE hummidity IN (60 to 75) 11) SELECT * FROM weather WHERE hummidity BETWEEN 60 AND 75 III) SELECT * FROM weather WHERE hummidity NOT IN (60 to 75) IV) SELECT * FROM weather WHERE hummidity NOT BETWEEN 60 AND 75 a) IV II 1 d) III Leave blank
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
