Query Statement 2

Source: Internet
Author: User

Topic: VS custom settings, use macro to solve repetitive work, refer to: http://www.diybl.com/course/4_webprogram/asp.net/netjs/20100714/445361.html

Keyword in the query statement:

Clause
Description
from 
Specify the data source and range variables (similar to iteration variables ).
where 
Filter source elements based on one or more boolean expressions separated by the logical "and" or "Operator (& |.
select 
Specifies the type and format of the elements in the returned sequence when the query is executed.
group 
The query results are grouped by the specified key value.
into 
Provides an identifier that can be used as a reference to the results of join, group, or select clauses.
orderby 
The default comparator of the element type sorts the query results in ascending or descending order.
join 
Connect two data sources based on the equal comparison between the two specified matching conditions.
let 
Introduce a range variable used to store the results of the subexpression in the query expression.
in 
Context keyword in the join clause.
on 
Context keyword in the join clause.
equals 
Context keyword in the join clause.
by 
Context keyword in the group clause.
ascending 
The context keyword in the orderby clause.
descending 
The context keyword in the orderby clause.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.