Flag%20question%3A%20Question%202%0AQuestion%202%0A3%20pts%0AWhen%20selecting%20from%20a%…
- User
Flag%20question%3A%20Question%202%0AQuestion%202%0A3%20pts%0AWhen%20selecting%20from%20a%20table%2C%20which%20of%20the%20following%20is%20true%20about%20the%20SQL%20SELECT%20statement%3F%0AGroup%20of%20answer%20choices%0AWHERE%20and%20FROM%20are%20both%20required%20clauses%0AWHERE%20is%20optional%2C%20but%20FROM%20is%20required%0AWHERE%20is%20required%20but%20FROM%20is%20optional%0AWHERE%20and%20FROM%20are%20both%20optional
- Assistant
In SQL, when using the SELECT statement to retrieve data from a table, the following is true:
- FROM is required: You must specify at least one table from which to select data.
- WHERE is optional: You can choose to filter results using a WHERE clause, but it is not mandatory.
Therefore, the correct answer from your options is:
WHERE is optional, but FROM is required.
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.