adplus-dvertising

Welcome to the SQL Server Basics MCQs Page

Dive deep into the fascinating world of SQL Server Basics with our comprehensive set of Multiple-Choice Questions (MCQs). This page is dedicated to exploring the fundamental concepts and intricacies of SQL Server Basics, a crucial aspect of SQL Server. In this section, you will encounter a diverse range of MCQs that cover various aspects of SQL Server Basics, from the basic principles to advanced topics. Each question is thoughtfully crafted to challenge your knowledge and deepen your understanding of this critical subcategory within SQL Server.

frame-decoration

Check out the MCQs below to embark on an enriching journey through SQL Server Basics. Test your knowledge, expand your horizons, and solidify your grasp on this vital area of SQL Server.

Note: Each MCQ comes with multiple answer choices. Select the most appropriate option and test your understanding of SQL Server Basics. You can click on an option to test your knowledge before viewing the solution for a MCQ. Happy learning!

SQL Server Basics MCQs | Page 6 of 13

Q51.
___________removes all rows from a table without logging the individual row deletions.
Discuss
Answer: (d).TRUNCATE
Q52.
Which of the following is not a DDL command?
Discuss
Answer: (a).UPDATE
Q53.
Which of the following are TCL commands?
Discuss
Answer: (d).ROLLBACK and SAVEPOINT
Q54.
________________ is not a category of SQL command.
Discuss
Answer: (b).SCL
Q55.
If you don’t specify ASC or DESC after a SQL ORDER BY clause, the following is used by default ______________
Discuss
Answer: (a).ASC
Discuss
Answer: (a).The AS SQL clause is used to change the name of a column in the result set or to assign a name to a derived column
Discuss
Answer: (d).Data Manipulation language
Q58.
With SQL, how do you select all the records from a table named “Persons” where the value of the column “FirstName” ends with an “a”?
Discuss
Answer: (c).SELECT * FROM Persons WHERE FirstName LIKE ‘%a’
Q59.
With SQL, how can you return all the records from a table named “Persons” sorted descending by “FirstName”?
Discuss
Answer: (d).SELECT * FROM Persons ORDER BY FirstName DESC
Q60.
With SQL, how can you return the number of not null records in the “Persons” table?
Discuss
Answer: (a).SELECT COUNT() FROM Persons
Page 6 of 13

Suggested Topics

Are you eager to expand your knowledge beyond SQL Server? We've curated a selection of related categories that you might find intriguing.

Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!