SQL statement Query
The table structure is like this:
ID name Sex
1 Three men
2 Wang Shinan
3 Lili Girl
4 Three Men
5 Chao Liuan
6 Noble Male
7 Wang Shiju
8 Noble Women
9 Three Girls
How can I query the following results with an SQL statement
Test environment
Hardware: CPU core dual-core T5750 Memory: 2G
Software: Windows Server 2003 + SQL Server 2005
OK, we first create a database: Data_test, and create a table in this database: tb_testtable
Copy CodeThe code is as follows:
Create
Although there are many previous articles that discuss SQL injection, the content discussed today may help you check your server and take precautions. TSE, you can win. The first thing to understand is what kind of SQL injection attack is.
Looking
Copy CodeThe code is as follows:
CREATE table TB (ID int, value varchar (10))
INSERT into TB values (1, "AA")
INSERT into TB values (1, "BB")
INSERT into TB values (2, "AAA")
INSERT into TB values (2, "BBB")
INSERT into TB values (2,
Copy CodeThe code is as follows:
SET ANSI_NULLS on
Go
SET QUOTED_IDENTIFIER ON
Go
CREATE PROCEDURE [dbo]. [Pagination]
@Page int = 1,--current page number
@PageSize int = 10--Number of record bars per page (page size)
@Table nvarchar (500)--table
Want to understand the process and principle of SQL injection, online find some articles, speak are relatively superficial, but I know there are several domestic more commonly used injection tools, such as Domain3.5, NBSI3.0, ah D2.32, and pangolin,
In a network set up with the TCP/IP protocol family, each node has a unique IP address that is used as their only token. However, it would be unthinkable if the user were to be remembered for such an IP address without a memory rule. People need a
In many network applications, FTP (File Transfer Protocol) has a very important position. A very important resource in the Internet is software resources, and most of the various software resources are placed in the FTP server. Like most Internet
Linux's screen commands are good, and you'll find it much better than Windows ' taskbar. Here's My. SCREENRC, for reference only
Linux's screen commands are good, and you'll find it much better than Windows ' taskbar. Here is my. SCREENRC, for your
SNMP (Simple network Management Protocol, Easy Network Management Protocol) is used to manage communication lines. When configuring the SNMP service on a Windows server, it is cumbersome to use manual fill information. The following is done using
Windows server's own Internet Information Server (Internet Information Server,iis) is a common tool for building Web servers, a simple and cumbersome thing, and novice users can use IIS to erect a respectable web site, But configuring, optimizing
WWW, some people call it the Web, is the application of the current Internet, the fastest growing network information services, but also the most convenient and most popular information service types. Its biggest feature is integration, it can
1.SMTP is working in two cases: one is to transmit e-mail from the client to the server, and the other is to transfer from one server to another
Server
2.SMTP is a request/response protocol in which commands and responses are based on ASCII text and
From the previous communication model, you can see that the SMTP protocol's session between sending SMTP and receiving SMTP is done by sending SMTP commands and receiving an answer to SMTP feedback. After the communication link is established, Send
The INTERNET,POP3 (POSTOFFICEPROTOCOL3) protocol is commonly used to receive e-mail messages. This protocol is easy to learn because it contains only 12 commands (3 of which you can completely ignore their existence). These commands are used by the
Server clusters running SendMail can provide high performance and high availability at competitive prices. This has always been a common practice for experienced system administrators. This article describes our research to quantify and describe
Exchange server is constantly striving to meet the diverse needs of large and small companies, and is widely recognized by users. Today, however, business users of all sizes have new, similar needs for communication services-such as compliance,
Commands and responses to the SMTP protocol
From the previous communication model, you can see that the SMTP protocol's session between sending SMTP and receiving SMTP is done by sending SMTP commands and receiving an answer to SMTP feedback. After
In this article, I'll introduce you to the communication ports used by various Exchange servers (ExchangeServer) components of Microsoft's development, so that you know which ports can be shut down and which ones must remain open for better security.
To establish a sample network, you need to make the following specification of the naming:
The server will be built in an imaginary domain named aspdomain.com. Each server has a unique internal domain name. asphosting.com, where ComputerName is used
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