gs gs116 Data Connectivity - LINQ - Quiz No.1

gs gs116 Microsoft SQL Server Quiz

Online Quizzes Preparation

This quiz belongs to book/course code gs gs116 Microsoft SQL Server of gs organization. We have 100 quizzes available related to the book/course Microsoft SQL Server. This quiz has a total of 10 multiple choice questions (MCQs) to prepare and belongs to topic Data Connectivity. NVAEducation wants its users to help them learn in an easy way. For that purpose, you are free to prepare online MCQs and quizzes.

NVAEducation also facilitates users to contribute in online competitions with other students to make a challenging situation to learn in a creative way. You can create one to one, and group competition on an topic of a book/course code. Also on NVAEducation you can get certifications by passing the online quiz test.

Question 1: Query alternative to the following SQL code in LINQ is ____________

SELECT TOP 10 UPPER (c1.Name) FROM Customer c1 WHERE c1.Name LIKE 'A%' AND c1.ID NOT IN ( SELECT TOP 20 c2.ID FROM Customer c2 WHERE c2.Name LIKE 'A%' ORDER BY c2.Name ) ORDER BY c1.Name 
Question 2: Point out the correct statement.
Question 3: LINQ query to retrieve a selection of customers, each with their high-value purchases is _____________
Question 4: LINQ Query to list all purchases of $1000 or greater made by customers who live in Washington.
Question 5: Point out the wrong statement.
Question 7: Query alternative to the following LINQ code in SQL is ____________

from p in db.Purchases where p.Customer.Address.State == "WA" || p.Customer == null where p.PurchaseItems.Sum (pi => pi.SaleAmount) > 1000 select p 
Question 8: Which of the following sample code is used to select data Using LinQ To SQL?
Question 9: Which of the following code snippet would traverse through all result objects ?


Online Quizzes of gs116 Microsoft SQL Server

Other DB related online quizzes

Other categories of gs Online Quizzes

Other organizations

Theme Customizer

Gaussian Texture



Gradient Background