TRUE/FALSE (2 PTS EACH) 1. The SELECT clause in a query is optional. 2. In sorti
ID: 3754757 • Letter: T
Question
TRUE/FALSE (2 PTS EACH) 1. The SELECT clause in a query is optional. 2. In sorting, if DESC A C (descending) or ASC (ascending) is not specified, then the default is to sort ascending. egardless of the joining type used, the records produced can be fitered with criteria in the ON clause. When a field is defined as NOT NULL, this means a field value can be empty. 5. Aliases must be declared immediately after the name of the table in the FROM clause. 6. The SQL operator LIKE can be used to return an exact match of the data request 7. In a LEFT OUTER JOIN, the left table might have records that appear even i 4. f SQL Server finds no matching records in the right table. 8. An Inner Join combines records from two or more tables and shows matching and unmatched values. 9. The operator IN is used to enumerate a set of data ranges in a query. 10. A table can be created with any number of fields including O. II. An Outer Join combines records from two or more tables where matching values are found. 12. Wildcards are special characters that are used in conjunction with the LIKE keyword to match patterns for a result set. 13. Create, drop, or alter belong to the DDL family of language statements. 14. A primary key is an attribute of a field that prevents records with duplicate values in the specific field 15. The FROM clause tells SQL which table or tables contain searchable data.Explanation / Answer
If you post more than 1 question, as per chegg guidelines I have to solve only first question.
Ques 1. True
Select clause is used to fetch data from the database. There are also many other type of operations on the database for which we use different clauses like
There are other types of manipulations too.
So, it is not mandatory to use SELECT.
Ques 2. True
The default order is ascending order.
Todo descending, we have to use DESC clause.
e.g:
Foellowing query displays data in descending order.
Ques 3. True
the ON clause is used to filter the data on th basis of a condition specified using ON when the JOIN is used.
Ques 4. True
The NOT NULL is used to define the structure of the field. It tells that the field can't be empty. If we don't specify this fields value, then the insertion command will show error.
Ques 6. False
The LIKE is used in case when we match strings. So, it doesn't mean that the exact string should match. We can also match substring.
e.g:
Select * From employee where name LIKE '%ABC%';
This will match all the strings which have have ABC as substring.
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.